Home
last modified time | relevance | path

Searched refs:aad_len (Results 1 – 4 of 4) sorted by relevance

/uoscore-uedhoc-3.5.0/src/oscore/
Doscore_cose.c68 uint32_t aad_len = recipient_aad->len + ENCRYPT0_ENCODING_OVERHEAD; in oscore_cose_decrypt() local
69 BYTE_ARRAY_NEW(aad, MAX_AAD_LEN, aad_len); in oscore_cose_decrypt()
93 uint32_t aad_len = sender_aad->len + ENCRYPT0_ENCODING_OVERHEAD; in oscore_cose_encrypt() local
94 BYTE_ARRAY_NEW(aad, MAX_AAD_LEN, aad_len); in oscore_cose_encrypt()
/uoscore-uedhoc-3.5.0/src/edhoc/
Dciphertext.c65 const uint32_t aad_len, uint8_t *out, const uint32_t out_len, in ciphertext_encrypt_decrypt() argument
73 aad_len, out, out_len, tag, tag_len)); in ciphertext_encrypt_decrypt()
282 uint32_t aad_len = sizeof(aad); in ciphertext_gen() local
288 TRY(associated_data_encode(th, th_len, aad, &aad_len)); in ciphertext_gen()
289 PRINT_ARRAY("aad_data", aad, aad_len); in ciphertext_gen()
297 key, key_len, iv, iv_len, aad, aad_len, in ciphertext_gen()
/uoscore-uedhoc-3.5.0/src/common/
Dcrypto_wrapper.c244 const uint8_t *aad, const uint16_t aad_len, in aead_mock_args_match_predefined() argument
255 .len = aad_len }) && in aead_mock_args_match_predefined()
265 const uint32_t aad_len, uint8_t *out, const uint32_t out_len, in aead() argument
274 aad, aad_len, tag, tag_len)) { in aead()
291 out, out_len, aad, aad_len, in, in_len, &c), in aead()
296 out, (out_len + tag_len), aad, aad_len, in, in aead()
323 aad, aad_len, in, in_len, out, in aead()
330 aad, aad_len, in, in_len, out, in aead()
/uoscore-uedhoc-3.5.0/inc/common/
Dcrypto_wrapper.h45 const uint32_t aad_len, uint8_t *out, const uint32_t out_len,