Home
last modified time | relevance | path

Searched refs:AES_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/stm32/
H A Dcommon.h22 #define AES_BLOCK_SIZE (AES_BLOCK_SIZE_BIT / INT8_BIT) macro
23 #define AES_BLOCK_NB_U32 (AES_BLOCK_SIZE / sizeof(uint32_t))
28 #define MAX_BLOCK_SIZE AES_BLOCK_SIZE
H A Dstm32_saes.c498 AES_BLOCK_SIZE - ctx->extra_size); in do_from_header_to_phase()
742 ((ctx->extra_size + data_size) >= AES_BLOCK_SIZE)) { in stm32_saes_update_assodata()
747 AES_BLOCK_SIZE - ctx->extra_size); in stm32_saes_update_assodata()
757 i += AES_BLOCK_SIZE - ctx->extra_size; in stm32_saes_update_assodata()
762 while (data_size - i >= AES_BLOCK_SIZE) { in stm32_saes_update_assodata()
772 i += AES_BLOCK_SIZE; in stm32_saes_update_assodata()
849 while (i < ROUNDDOWN(data_size, AES_BLOCK_SIZE)) { in stm32_saes_update_load()
861 i += AES_BLOCK_SIZE; in stm32_saes_update_load()
873 uint32_t npblb = AES_BLOCK_SIZE - (data_size - i); in stm32_saes_update_load()
1004 (ROUNDDOWN(data_size, AES_BLOCK_SIZE) != data_size)) { in stm32_saes_update()
[all …]