Home
last modified time | relevance | path

Searched refs:cbc_chain_data (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/tegra20/
Dcrypto.c55 u8 *cbc_chain_data; in sign_object() local
58 cbc_chain_data = zero_key; /* Convenient array of 0's for IV */ in sign_object()
74 aes_apply_cbc_chain_data(cbc_chain_data, src, tmp_data); in sign_object()
86 cbc_chain_data = dst; in sign_object()
/external/u-boot/lib/
Daes.c595 void aes_apply_cbc_chain_data(u8 *cbc_chain_data, u8 *src, u8 *dst) in aes_apply_cbc_chain_data() argument
600 *dst++ = *src++ ^ *cbc_chain_data++; in aes_apply_cbc_chain_data()
607 u8 *cbc_chain_data = iv; in aes_cbc_encrypt_blocks() local
615 aes_apply_cbc_chain_data(cbc_chain_data, src, tmp_data); in aes_cbc_encrypt_blocks()
623 cbc_chain_data = dst; in aes_cbc_encrypt_blocks()
634 u8 cbc_chain_data[AES_KEY_LENGTH]; in aes_cbc_decrypt_blocks() local
637 memcpy(cbc_chain_data, iv, AES_KEY_LENGTH); in aes_cbc_decrypt_blocks()
649 aes_apply_cbc_chain_data(cbc_chain_data, tmp_data, dst); in aes_cbc_decrypt_blocks()
653 memcpy(cbc_chain_data, tmp_block, AES_KEY_LENGTH); in aes_cbc_decrypt_blocks()
/external/u-boot/include/
Duboot_aes.h71 void aes_apply_cbc_chain_data(u8 *cbc_chain_data, u8 *src, u8 *dst);