Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
A Dchachapoly.c98 ctx->aad_len = 0U; in mbedtls_chachapoly_init()
111 ctx->aad_len = 0U; in mbedtls_chachapoly_free()
158 ctx->aad_len = 0U; in mbedtls_chachapoly_starts()
171 size_t aad_len ) in mbedtls_chachapoly_update_aad() argument
179 ctx->aad_len += aad_len; in mbedtls_chachapoly_update_aad()
266 len_block[ 0] = (unsigned char)( ctx->aad_len ); in mbedtls_chachapoly_finish()
267 len_block[ 1] = (unsigned char)( ctx->aad_len >> 8 ); in mbedtls_chachapoly_finish()
268 len_block[ 2] = (unsigned char)( ctx->aad_len >> 16 ); in mbedtls_chachapoly_finish()
297 size_t aad_len, in chachapoly_crypt_and_tag() argument
326 size_t aad_len, in mbedtls_chachapoly_encrypt_and_tag() argument
[all …]
/optee_os/core/drivers/crypto/stm32/
A Dauthenc.c158 b0[0] = ((dinit->aad_len ? 1 : 0) << 6) | in stm32_ae_ccm_generate_b0()
176 if (dinit->aad_len == 0) in stm32_ae_ccm_push_b1()
179 if (dinit->aad_len < 0x100) { in stm32_ae_ccm_push_b1()
180 b1[1] = dinit->aad_len; in stm32_ae_ccm_push_b1()
182 } else if (dinit->aad_len < 0xFF00) { in stm32_ae_ccm_push_b1()
183 b1[0] = dinit->aad_len / 0x100; in stm32_ae_ccm_push_b1()
184 b1[1] = dinit->aad_len % 0x100; in stm32_ae_ccm_push_b1()
186 } else if (dinit->aad_len <= UINT32_MAX) { in stm32_ae_ccm_push_b1()
189 b1[2] = dinit->aad_len & GENMASK_32(7, 0); in stm32_ae_ccm_push_b1()
190 b1[3] = (dinit->aad_len & GENMASK_32(15, 8)) >> 8; in stm32_ae_ccm_push_b1()
[all …]
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dchachapoly.h66 …uint64_t aad_len; /**< The length (bytes) of the Additional Authenticated Da… member
214 size_t aad_len );
304 size_t aad_len,
338 size_t aad_len,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dchachapoly.h66 …uint64_t aad_len; /**< The length (bytes) of the Additional Authenticated Da… member
214 size_t aad_len );
304 size_t aad_len,
338 size_t aad_len,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dchachapoly.h66 …uint64_t aad_len; /**< The length (bytes) of the Additional Authenticated Da… member
214 size_t aad_len );
304 size_t aad_len,
338 size_t aad_len,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dchachapoly.h66 …uint64_t aad_len; /**< The length (bytes) of the Additional Authenticated Da… member
214 size_t aad_len );
304 size_t aad_len,
338 size_t aad_len,
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dchachapoly.h66 …uint64_t aad_len; /**< The length (bytes) of the Additional Authenticated Da… member
214 size_t aad_len );
304 size_t aad_len,
338 size_t aad_len,
/optee_os/core/include/crypto/
A Dinternal_aes-gcm.h77 const void *aad, size_t aad_len,
83 const void *aad, size_t aad_len,
A Dcrypto.h64 size_t tag_len, size_t aad_len,
A Dcrypto_impl.h245 size_t tag_len, size_t aad_len,
/optee_os/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c78 size_t nonce_len, size_t tag_len, size_t aad_len, in authenc_init() argument
100 .aad_len = aad_len, in authenc_init()
/optee_os/core/crypto/
A Daes-gcm.c372 const void *aad, size_t aad_len, in internal_aes_gcm_enc() argument
385 res = __gcm_update_aad(&state, aad, aad_len); in internal_aes_gcm_enc()
395 const void *aad, size_t aad_len, in internal_aes_gcm_dec() argument
408 res = __gcm_update_aad(&state, aad, aad_len); in internal_aes_gcm_dec()
464 size_t tag_len, size_t aad_len __unused, in aes_gcm_init()
A Dcrypto.c378 size_t tag_len, size_t aad_len, in crypto_authenc_init() argument
382 tag_len, aad_len, payload_len); in crypto_authenc_init()
/optee_os/core/lib/libtomcrypt/
A Dccm.c65 size_t tag_len, size_t aad_len, in crypto_aes_ccm_init() argument
93 payload_len, tag_len, aad_len); in crypto_aes_ccm_init()
A Dgcm.c64 size_t tag_len, size_t aad_len __unused, in crypto_aes_gcm_init()
/optee_os/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_authenc.h31 size_t aad_len; /* Additional Authenticated Data length */ member
/optee_os/core/include/tee/
A Dtee_svc_cryp.h62 size_t aad_len, size_t payload_len);
/optee_os/core/tee/
A Dfs_htree.c446 size_t aad_len = TEE_FS_HTREE_FEK_SIZE + TEE_FS_HTREE_IV_SIZE; in authenc_init() local
453 aad_len += TEE_FS_HTREE_HASH_SIZE + sizeof(ht->head.counter); in authenc_init()
468 aad_len, payload_len); in authenc_init()
A Dtee_svc_cryp.c3217 size_t aad_len, size_t payload_len) in syscall_authenc_init() argument
3245 aad_len, payload_len); in syscall_authenc_init()
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutee_syscalls.h135 size_t nonce_len, size_t tag_len, size_t aad_len,
/optee_os/out/arm/export-ta_arm64/include/
A Dutee_syscalls.h135 size_t nonce_len, size_t tag_len, size_t aad_len,
/optee_os/lib/libutee/include/
A Dutee_syscalls.h135 size_t nonce_len, size_t tag_len, size_t aad_len,
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutee_syscalls.h135 size_t nonce_len, size_t tag_len, size_t aad_len,
/optee_os/out/arm/export-ta_arm32/include/
A Dutee_syscalls.h135 size_t nonce_len, size_t tag_len, size_t aad_len,

Completed in 49 milliseconds