/optee_os-3.20.0/core/include/crypto/ |
A D | crypto_accel.h | 18 unsigned int block_count); 21 unsigned int block_count); 25 unsigned int block_count, void *iv); 28 unsigned int block_count, void *iv); 32 unsigned int block_count, void *iv); 36 unsigned int block_count, const void *key2, 40 unsigned int block_count, const void *key2, 44 unsigned int block_count); 46 unsigned int block_count); 48 unsigned int block_count); [all …]
|
/optee_os-3.20.0/core/arch/arm/crypto/ |
A D | aes_armv8a_ce.c | 158 unsigned int block_count) in crypto_accel_aes_ecb_enc() argument 165 ce_aes_ecb_encrypt(out, in, key, round_count, block_count, 1); in crypto_accel_aes_ecb_enc() 171 unsigned int block_count) in crypto_accel_aes_ecb_dec() argument 178 ce_aes_ecb_decrypt(out, in, key, round_count, block_count, 1); in crypto_accel_aes_ecb_dec() 184 unsigned int block_count, void *iv) in crypto_accel_aes_cbc_enc() argument 191 ce_aes_cbc_encrypt(out, in, key, round_count, block_count, iv); in crypto_accel_aes_cbc_enc() 197 unsigned int block_count, void *iv) in crypto_accel_aes_cbc_dec() argument 204 ce_aes_cbc_decrypt(out, in, key, round_count, block_count, iv); in crypto_accel_aes_cbc_dec() 210 unsigned int block_count, void *iv) in crypto_accel_aes_ctr_be_enc() argument 223 unsigned int block_count, const void *key2, in crypto_accel_aes_xts_enc() argument [all …]
|
A D | sha1_armv8a_ce.c | 11 unsigned int block_count); 14 unsigned int block_count) in crypto_accel_sha1_compress() argument 19 sha1_ce_transform(state, src, block_count); in crypto_accel_sha1_compress()
|
A D | sha256_armv8a_ce.c | 11 unsigned int block_count); 14 unsigned int block_count) in crypto_accel_sha256_compress() argument 19 sha256_ce_transform(state, src, block_count); in crypto_accel_sha256_compress()
|
A D | sha512_armv8a_ce.c | 11 unsigned int block_count); 14 unsigned int block_count) in crypto_accel_sha512_compress() argument 19 sha512_ce_transform(state, src, block_count); in crypto_accel_sha512_compress()
|
A D | sm3_armv8a_ce.c | 11 unsigned int block_count); 14 unsigned int block_count) in crypto_accel_sm3_compress() argument 19 sm3_ce_transform(state, src, block_count); in crypto_accel_sm3_compress()
|
/optee_os-3.20.0/core/crypto/ |
A D | sm3.c | 163 unsigned int block_count) in sm3_process_blocks() argument 166 if (block_count) in sm3_process_blocks() 167 crypto_accel_sm3_compress(ctx->state, input, block_count); in sm3_process_blocks() 171 for (n = 0; n < block_count; n++) in sm3_process_blocks() 178 unsigned int block_count = 0; in sm3_update() local 201 block_count = ilen / SM3_BLOCK_SIZE; in sm3_update() 202 sm3_process_blocks(ctx, input, block_count); in sm3_update() 203 ilen -= block_count * SM3_BLOCK_SIZE; in sm3_update() 204 input += block_count * SM3_BLOCK_SIZE; in sm3_update()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | aes_ctr.c | 154 size_t block_count = (length - offs) / 16; in mbedtls_aes_crypt_ctr() local 158 block_count, nonce_counter); in mbedtls_aes_crypt_ctr() 159 offs += block_count * 16; in mbedtls_aes_crypt_ctr()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_rpmb_fs.c | 202 uint8_t block_count[2]; member 210 uint16_t block_count; member 221 uint16_t *block_count; member 579 if (rawdata->block_count) in tee_rpmb_req_pack() 580 u16_to_bytes(*rawdata->block_count, in tee_rpmb_req_pack() 581 datafrm[i].block_count); in tee_rpmb_req_pack() 1248 req->block_count = blkcnt; in tee_rpmb_read() 1261 rawdata.block_count = &blkcnt; in tee_rpmb_read() 1302 rawdata.block_count = &blkcnt; in write_req() 1344 rawdata.block_count = &blkcnt; in write_req()
|