Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Roberts <bill.c.roberts@gmail.com>
  • Loading branch information
williamcroberts committed Dec 8, 2023
1 parent 32df23a commit a71f716
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/tpm2_yaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,13 @@ static int add_mapping_root_with_items(yaml_document_t *doc, int root,
return yaml_document_append_mapping_pair(doc, root, sub_root_key, sub_root);
}

static int tpms_symcipher_params_to_yaml(yaml_document_t *t,
const TPMS_SYMCIPHER_PARMS *params) {
static int tpmt_sym_def_object_to_yaml(yaml_document_t *t,
int root, const TPMS_SYMCIPHER_PARMS *params) {

key_value kvs[] = {
KVP_ADD_STR("value", params->sym.algorithm),
KVP_ADD_INT("raw", params->sym.algorithm),
};

print_alg_raw("sym-alg", sym->algorithm, indent);
print_alg_raw("sym-mode", sym->mode.sym, indent);
Expand Down

0 comments on commit a71f716

Please sign in to comment.