Home
last modified time | relevance | path

Searched refs:TEE_AES_BLOCK_SIZE (Results 1 – 25 of 27) sorted by relevance

12

/optee_os/core/crypto/
A Daes-gcm-sw.c50 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 Daes-gcm.c30 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 Dcrypto.c211 *size = TEE_AES_BLOCK_SIZE; in crypto_cipher_get_block_size()
/optee_os/core/arch/arm/crypto/
A Daes-gcm-ce.c107 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 Daes_armv8a_ce.c56 uint8_t b[TEE_AES_BLOCK_SIZE];
/optee_os/core/include/crypto/
A Dinternal_aes-gcm.h38 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 Dtee_fs_key_manager.c177 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 Dtadb.c26 #define TADB_IV_SIZE TEE_AES_BLOCK_SIZE
27 #define TADB_TAG_SIZE TEE_AES_BLOCK_SIZE
/optee_os/ta/pkcs11/src/
A Dprocessing_symm.c466 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 Dcmac.c75 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 Daes_ctr.c25 unsigned char counter[TEE_AES_BLOCK_SIZE];
26 unsigned char block[TEE_AES_BLOCK_SIZE];
A Daes_ecb.c71 size_t block_size = TEE_AES_BLOCK_SIZE; in mbed_aes_ecb_update()
A Daes_cbc.c25 unsigned char iv[TEE_AES_BLOCK_SIZE];
/optee_os/core/drivers/crypto/se050/core/
A Dctr.c21 unsigned char counter[TEE_AES_BLOCK_SIZE];
22 unsigned char block[TEE_AES_BLOCK_SIZE];
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/
A Dgcm_mult_h_arm_ce.c20 const uint8_t zeroes[TEE_AES_BLOCK_SIZE] = { 0 }; in gcm_mult_h()
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutee_defines.h148 #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 Dutee_defines.h148 #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 Dutee_defines.h148 #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 Dutee_defines.h148 #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 Dutee_defines.h148 #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 Dcaam_cipher.c31 .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 Dcaam_cipher_mac.c28 .size_block = TEE_AES_BLOCK_SIZE,
42 .size_block = TEE_AES_BLOCK_SIZE,
/optee_os/core/lib/libtomcrypt/
A Dxts.c23 uint8_t tweak[TEE_AES_BLOCK_SIZE];
/optee_os/core/drivers/crypto/stm32/
A Dauthenc.c156 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 Daes_perf.c103 sizeof(aes_iv), TEE_AES_BLOCK_SIZE, in init_ctx()

Completed in 31 milliseconds

12