Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/cmd/
H A Daes.c34 uint32_t aes_blocks; in do_aes() local
60 aes_blocks = DIV_ROUND_UP(len, AES_KEY_LENGTH); in do_aes()
63 aes_cbc_encrypt_blocks(key_exp, src_ptr, dst_ptr, aes_blocks); in do_aes()
65 aes_cbc_decrypt_blocks(key_exp, src_ptr, dst_ptr, aes_blocks); in do_aes()
/OK3568_Linux_fs/u-boot/env/
H A Dcommon.c146 uint32_t aes_blocks; in env_aes_cbc_crypt() local
156 aes_blocks = ENV_SIZE / AES_KEY_LENGTH; in env_aes_cbc_crypt()
159 aes_cbc_encrypt_blocks(key_exp, data, data, aes_blocks); in env_aes_cbc_crypt()
161 aes_cbc_decrypt_blocks(key_exp, data, data, aes_blocks); in env_aes_cbc_crypt()
/OK3568_Linux_fs/u-boot/tools/env/
H A Dfw_env.c985 uint32_t aes_blocks; in env_aes_cbc_crypt() local
991 aes_blocks = DIV_ROUND_UP(len, AES_KEY_LENGTH); in env_aes_cbc_crypt()
994 aes_cbc_encrypt_blocks(key_exp, data, data, aes_blocks); in env_aes_cbc_crypt()
996 aes_cbc_decrypt_blocks(key_exp, data, data, aes_blocks); in env_aes_cbc_crypt()