/optee_os/core/crypto/ |
A D | aes-gcm-sw.c | 50 n * TEE_AES_BLOCK_SIZE); in internal_aes_gcm_ghash_update() 76 const void *s = src + n * TEE_AES_BLOCK_SIZE; in encrypt_pl() 77 void *d = dst + n * TEE_AES_BLOCK_SIZE; in encrypt_pl() 84 void *d = dst + n * TEE_AES_BLOCK_SIZE; in encrypt_pl() 86 memcpy(tmp, src + n * TEE_AES_BLOCK_SIZE, sizeof(tmp)); in encrypt_pl() 115 const void *s = src + n * TEE_AES_BLOCK_SIZE; in decrypt_pl() 116 void *d = dst + n * TEE_AES_BLOCK_SIZE; in decrypt_pl() 123 void *d = dst + n * TEE_AES_BLOCK_SIZE; in decrypt_pl() 125 memcpy(tmp, src + n * TEE_AES_BLOCK_SIZE, sizeof(tmp)); in decrypt_pl()
|
A D | aes-gcm.c | 30 size_t n = len / TEE_AES_BLOCK_SIZE; in ghash_update_pad_zero() 49 if (len - n * TEE_AES_BLOCK_SIZE) { in ghash_update_pad_zero() 52 len - n * TEE_AES_BLOCK_SIZE); in ghash_update_pad_zero() 156 l < TEE_AES_BLOCK_SIZE) { in __gcm_update_aad() 171 n = l / TEE_AES_BLOCK_SIZE; in __gcm_update_aad() 176 l -= n * TEE_AES_BLOCK_SIZE; in __gcm_update_aad() 177 d += n * TEE_AES_BLOCK_SIZE; in __gcm_update_aad() 245 n = l / TEE_AES_BLOCK_SIZE; in __gcm_update_payload() 248 s += n * TEE_AES_BLOCK_SIZE; in __gcm_update_payload() 249 d += n * TEE_AES_BLOCK_SIZE; in __gcm_update_payload() [all …]
|
A D | crypto.c | 211 *size = TEE_AES_BLOCK_SIZE; in crypto_cipher_get_block_size()
|
/optee_os/core/arch/arm/crypto/ |
A D | aes-gcm-ce.c | 107 memcpy(dst, buf_cryp, TEE_AES_BLOCK_SIZE); in encrypt_pl() 114 src += TEE_AES_BLOCK_SIZE; in encrypt_pl() 115 dst += TEE_AES_BLOCK_SIZE; in encrypt_pl() 129 src += TEE_AES_BLOCK_SIZE; in decrypt_pl() 130 dst += TEE_AES_BLOCK_SIZE; in decrypt_pl() 163 memcpy(state->buf_cryp, ks, TEE_AES_BLOCK_SIZE); in update_payload_2block() 194 const void *s = (const uint8_t *)src + nb * TEE_AES_BLOCK_SIZE; in internal_aes_gcm_update_payload_blocks() 195 void *d = (uint8_t *)dst + nb * TEE_AES_BLOCK_SIZE; in internal_aes_gcm_update_payload_blocks()
|
A D | aes_armv8a_ce.c | 56 uint8_t b[TEE_AES_BLOCK_SIZE];
|
/optee_os/core/include/crypto/ |
A D | internal_aes-gcm.h | 38 uint8_t hash_state[TEE_AES_BLOCK_SIZE]; 40 uint8_t buf_tag[TEE_AES_BLOCK_SIZE]; 41 uint8_t buf_hash[TEE_AES_BLOCK_SIZE]; 42 uint8_t buf_cryp[TEE_AES_BLOCK_SIZE]; 104 return !((vaddr_t)p & (TEE_AES_BLOCK_SIZE - 1)); in internal_aes_gcm_ptr_is_block_aligned()
|
/optee_os/core/tee/ |
A D | tee_fs_key_manager.c | 177 static TEE_Result aes_ecb(uint8_t out[TEE_AES_BLOCK_SIZE], in aes_ecb() argument 178 const uint8_t in[TEE_AES_BLOCK_SIZE], in aes_ecb() argument 194 TEE_AES_BLOCK_SIZE, out); in aes_ecb() 206 static TEE_Result essiv(uint8_t iv[TEE_AES_BLOCK_SIZE], in essiv() argument 212 uint8_t pad_blkid[TEE_AES_BLOCK_SIZE] = { 0, }; in essiv() 237 uint8_t iv[TEE_AES_BLOCK_SIZE]; in tee_fs_crypt_block() 260 0, iv, TEE_AES_BLOCK_SIZE); in tee_fs_crypt_block()
|
A D | tadb.c | 26 #define TADB_IV_SIZE TEE_AES_BLOCK_SIZE 27 #define TADB_TAG_SIZE TEE_AES_BLOCK_SIZE
|
/optee_os/ta/pkcs11/src/ |
A D | processing_symm.c | 466 if (param->size % TEE_AES_BLOCK_SIZE) { in tee_init_derive_symm() 518 sign_sz = TEE_AES_BLOCK_SIZE; in input_hmac_len_is_valid() 642 in_size % TEE_AES_BLOCK_SIZE) in input_data_size_is_valid() 645 in_size % TEE_AES_BLOCK_SIZE) in input_data_size_is_valid() 650 in_size % TEE_AES_BLOCK_SIZE) in input_data_size_is_valid() 655 in_size < TEE_AES_BLOCK_SIZE) in input_data_size_is_valid() 658 in_size < TEE_AES_BLOCK_SIZE) in input_data_size_is_valid() 694 sign_sz = TEE_AES_BLOCK_SIZE; in input_sign_size_is_valid() 1051 align = data_sz % TEE_AES_BLOCK_SIZE; in wrap_data_by_symm_enc() 1061 if (data_sz > TEE_AES_BLOCK_SIZE) { in wrap_data_by_symm_enc() [all …]
|
/optee_os/lib/libmbedtls/core/ |
A D | cmac.c | 75 size_t block_size = TEE_AES_BLOCK_SIZE; in mbed_cmac_final() 76 uint8_t block_digest[TEE_AES_BLOCK_SIZE] = { }; in mbed_cmac_final() 79 COMPILE_TIME_ASSERT(TEE_AES_BLOCK_SIZE >= TEE_DES_BLOCK_SIZE); in mbed_cmac_final()
|
A D | aes_ctr.c | 25 unsigned char counter[TEE_AES_BLOCK_SIZE]; 26 unsigned char block[TEE_AES_BLOCK_SIZE];
|
A D | aes_ecb.c | 71 size_t block_size = TEE_AES_BLOCK_SIZE; in mbed_aes_ecb_update()
|
A D | aes_cbc.c | 25 unsigned char iv[TEE_AES_BLOCK_SIZE];
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | ctr.c | 21 unsigned char counter[TEE_AES_BLOCK_SIZE]; 22 unsigned char block[TEE_AES_BLOCK_SIZE];
|
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/ |
A D | gcm_mult_h_arm_ce.c | 20 const uint8_t zeroes[TEE_AES_BLOCK_SIZE] = { 0 }; in gcm_mult_h()
|
/optee_os/out/arm/export-ta_arm64/host_include/ |
A D | utee_defines.h | 148 #define TEE_AES_BLOCK_SIZE 16UL macro 204 return TEE_AES_BLOCK_SIZE; in __tee_alg_get_digest_size()
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | utee_defines.h | 148 #define TEE_AES_BLOCK_SIZE 16UL macro 204 return TEE_AES_BLOCK_SIZE; in __tee_alg_get_digest_size()
|
/optee_os/lib/libutee/include/ |
A D | utee_defines.h | 148 #define TEE_AES_BLOCK_SIZE 16UL macro 204 return TEE_AES_BLOCK_SIZE; in __tee_alg_get_digest_size()
|
/optee_os/out/arm/export-ta_arm32/host_include/ |
A D | utee_defines.h | 148 #define TEE_AES_BLOCK_SIZE 16UL macro 204 return TEE_AES_BLOCK_SIZE; in __tee_alg_get_digest_size()
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | utee_defines.h | 148 #define TEE_AES_BLOCK_SIZE 16UL macro 204 return TEE_AES_BLOCK_SIZE; in __tee_alg_get_digest_size()
|
/optee_os/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher.c | 31 .size_block = TEE_AES_BLOCK_SIZE, 40 .size_block = TEE_AES_BLOCK_SIZE, 49 .size_block = TEE_AES_BLOCK_SIZE, 61 .size_block = TEE_AES_BLOCK_SIZE,
|
A D | caam_cipher_mac.c | 28 .size_block = TEE_AES_BLOCK_SIZE, 42 .size_block = TEE_AES_BLOCK_SIZE,
|
/optee_os/core/lib/libtomcrypt/ |
A D | xts.c | 23 uint8_t tweak[TEE_AES_BLOCK_SIZE];
|
/optee_os/core/drivers/crypto/stm32/ |
A D | authenc.c | 156 memset(b0, 0, TEE_AES_BLOCK_SIZE); in stm32_ae_ccm_generate_b0() 173 uint8_t b1[TEE_AES_BLOCK_SIZE] = { 0 }; in stm32_ae_ccm_push_b1()
|
/optee_os/core/pta/tests/ |
A D | aes_perf.c | 103 sizeof(aes_iv), TEE_AES_BLOCK_SIZE, in init_ctx()
|