Home
last modified time | relevance | path

Searched refs:enc_structure (Results 1 – 2 of 2) sorted by relevance

/uoscore-uedhoc-3.5.0/src/edhoc/
Dedhoc_cose.c28 struct edhoc_enc_structure enc_structure; in cose_enc_structure_encode() local
30 enc_structure._edhoc_enc_structure_context.value = context; in cose_enc_structure_encode()
31 enc_structure._edhoc_enc_structure_context.len = context_len; in cose_enc_structure_encode()
32 enc_structure._edhoc_enc_structure_external_aad.value = external_aad; in cose_enc_structure_encode()
33 enc_structure._edhoc_enc_structure_external_aad.len = external_aad_len; in cose_enc_structure_encode()
49 enc_structure._edhoc_enc_structure_protected.value = (const uint8_t *) &dummy_buffer; in cose_enc_structure_encode()
53 enc_structure._edhoc_enc_structure_protected.value = protected; in cose_enc_structure_encode()
56 enc_structure._edhoc_enc_structure_protected.len = protected_len; in cose_enc_structure_encode()
59 TRY_EXPECT(cbor_encode_edhoc_enc_structure(out, *out_len, &enc_structure, in cose_enc_structure_encode()
/uoscore-uedhoc-3.5.0/src/oscore/
Doscore_cose.c37 struct oscore_enc_structure enc_structure; in create_enc_structure() local
40 enc_structure._oscore_enc_structure_context.value = context; in create_enc_structure()
41 enc_structure._oscore_enc_structure_context.len = in create_enc_structure()
43 enc_structure._oscore_enc_structure_protected.value = NULL; in create_enc_structure()
44 enc_structure._oscore_enc_structure_protected.len = 0; in create_enc_structure()
45 enc_structure._oscore_enc_structure_external_aad.value = in create_enc_structure()
47 enc_structure._oscore_enc_structure_external_aad.len = in create_enc_structure()
53 &enc_structure, in create_enc_structure()