/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | chachapoly.c | 98 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 D | authenc.c | 158 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 D | chachapoly.h | 66 …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 D | chachapoly.h | 66 …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 D | chachapoly.h | 66 …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 D | chachapoly.h | 66 …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 D | chachapoly.h | 66 …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 D | internal_aes-gcm.h | 77 const void *aad, size_t aad_len, 83 const void *aad, size_t aad_len,
|
A D | crypto.h | 64 size_t tag_len, size_t aad_len,
|
A D | crypto_impl.h | 245 size_t tag_len, size_t aad_len,
|
/optee_os/core/drivers/crypto/crypto_api/authenc/ |
A D | authenc.c | 78 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 D | aes-gcm.c | 372 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 D | crypto.c | 378 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 D | ccm.c | 65 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 D | gcm.c | 64 size_t tag_len, size_t aad_len __unused, in crypto_aes_gcm_init()
|
/optee_os/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_authenc.h | 31 size_t aad_len; /* Additional Authenticated Data length */ member
|
/optee_os/core/include/tee/ |
A D | tee_svc_cryp.h | 62 size_t aad_len, size_t payload_len);
|
/optee_os/core/tee/ |
A D | fs_htree.c | 446 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 D | tee_svc_cryp.c | 3217 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 D | utee_syscalls.h | 135 size_t nonce_len, size_t tag_len, size_t aad_len,
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | utee_syscalls.h | 135 size_t nonce_len, size_t tag_len, size_t aad_len,
|
/optee_os/lib/libutee/include/ |
A D | utee_syscalls.h | 135 size_t nonce_len, size_t tag_len, size_t aad_len,
|
/optee_os/out/arm/export-ta_arm32/host_include/ |
A D | utee_syscalls.h | 135 size_t nonce_len, size_t tag_len, size_t aad_len,
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | utee_syscalls.h | 135 size_t nonce_len, size_t tag_len, size_t aad_len,
|