Searched refs:AES_KEY_LENGTH (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/arch/arm/mach-tegra/tegra20/ |
D | crypto.c | 51 u8 tmp_data[AES_KEY_LENGTH]; in sign_object() 52 u8 iv[AES_KEY_LENGTH] = {0}; in sign_object() 53 u8 left[AES_KEY_LENGTH]; in sign_object() 54 u8 k1[AES_KEY_LENGTH]; in sign_object() 61 for (i = 0; i < AES_KEY_LENGTH; i++) in sign_object() 69 k1[AES_KEY_LENGTH-1] ^= AES_CMAC_CONST_RB; in sign_object() 87 src += AES_KEY_LENGTH; in sign_object() 105 u8 iv[AES_KEY_LENGTH] = {0}; in encrypt_and_sign() 115 num_aes_blocks = (length + AES_KEY_LENGTH - 1) / AES_KEY_LENGTH; in encrypt_and_sign()
|
/external/u-boot/lib/ |
D | aes.c | 599 for (i = 0; i < AES_KEY_LENGTH; i++) in aes_apply_cbc_chain_data() 606 u8 tmp_data[AES_KEY_LENGTH]; in aes_cbc_encrypt_blocks() 612 debug_print_vector("AES Src", AES_KEY_LENGTH, src); in aes_cbc_encrypt_blocks() 616 debug_print_vector("AES Xor", AES_KEY_LENGTH, tmp_data); in aes_cbc_encrypt_blocks() 620 debug_print_vector("AES Dst", AES_KEY_LENGTH, dst); in aes_cbc_encrypt_blocks() 624 src += AES_KEY_LENGTH; in aes_cbc_encrypt_blocks() 625 dst += AES_KEY_LENGTH; in aes_cbc_encrypt_blocks() 632 u8 tmp_data[AES_KEY_LENGTH], tmp_block[AES_KEY_LENGTH]; in aes_cbc_decrypt_blocks() 634 u8 cbc_chain_data[AES_KEY_LENGTH]; in aes_cbc_decrypt_blocks() 637 memcpy(cbc_chain_data, iv, AES_KEY_LENGTH); in aes_cbc_decrypt_blocks() [all …]
|
/external/u-boot/include/ |
D | uboot_aes.h | 29 AES_KEY_LENGTH = 128 / 8, enumerator
|
/external/u-boot/cmd/ |
D | aes.c | 59 aes_blocks = DIV_ROUND_UP(len, AES_KEY_LENGTH); in do_aes()
|