/u-boot/test/lib/ |
A D | test_aes.c | 45 u8 *key_exp, u8 *iv, int num_block, in lib_test_aes_one_block() argument 63 u8 *key_exp, u8 *iv, int num_block, in lib_test_aes_cbc_chain() argument 66 aes_cbc_encrypt_blocks(key_len, key_exp, iv, in lib_test_aes_cbc_chain() 68 aes_cbc_decrypt_blocks(key_len, key_exp, iv, in lib_test_aes_cbc_chain() 75 aes_cbc_decrypt_blocks(key_len, key_exp, iv, in lib_test_aes_cbc_chain() 86 u8 *key, *key_exp, *iv; in _lib_test_aes_run() local 93 iv = malloc(AES_BLOCK_LENGTH); in _lib_test_aes_run() 106 rand_buf(iv, AES_BLOCK_LENGTH); in _lib_test_aes_run() 117 ret = lib_test_aes_one_block(uts, key_len, key_exp, iv, in _lib_test_aes_run() 122 ret = lib_test_aes_cbc_chain(uts, key_len, key_exp, iv, in _lib_test_aes_run() [all …]
|
/u-boot/arch/arm/mach-tegra/tegra20/ |
A D | crypto.c | 53 u8 iv[AES128_KEY_LENGTH] = {0}; in sign_object() local 65 aes_cbc_encrypt_blocks(AES128_KEY_LENGTH, key_schedule, iv, in sign_object() 108 u8 iv[AES128_KEY_LENGTH] = {0}; in encrypt_and_sign() local 124 aes_cbc_encrypt_blocks(AES128_KEY_LENGTH, key_schedule, iv, src, in encrypt_and_sign()
|
/u-boot/common/ |
A D | image-cipher.c | 98 info->iv = fdt_getprop(fit, cipher_noffset, "iv", NULL); in fit_image_setup_decrypt() 101 if (!info->iv && !info->ivname) { in fit_image_setup_decrypt() 147 if (!info->iv) { in fit_image_setup_decrypt() 148 info->iv = fdt_getprop(fdt, noffset, "iv", NULL); in fit_image_setup_decrypt() 149 if (!info->iv) { in fit_image_setup_decrypt()
|
/u-boot/include/ |
A D | uboot_aes.h | 94 void aes_cbc_encrypt_blocks(u32 key_size, u8 *key_exp, u8 *iv, u8 *src, u8 *dst, 107 void aes_cbc_decrypt_blocks(u32 key_size, u8 *key_exp, u8 *iv, u8 *src, u8 *dst,
|
A D | imx8image.h | 116 uint8_t iv[IV_MAX_LEN]; member
|
A D | image.h | 1478 const void *iv; /* Value of the IV */ member
|
/u-boot/lib/aes/ |
A D | aes-encrypt.c | 47 NULL, info->key, info->iv) != 1) { in image_aes_encrypt() 131 info->iv, info->cipher->iv_len); in image_aes_add_cipher_data() 135 info->iv, info->cipher->iv_len); in image_aes_add_cipher_data()
|
A D | aes-decrypt.c | 36 aes_cbc_decrypt_blocks(key_len, key_exp, (u8 *)info->iv, in image_aes_decrypt()
|
/u-boot/drivers/bios_emulator/x86emu/ |
A D | debug.c | 198 void x86emu_print_int_vect(u16 iv) in x86emu_print_int_vect() argument 202 if (iv > 256) in x86emu_print_int_vect() 204 seg = fetch_data_word_abs(0, iv * 4); in x86emu_print_int_vect() 205 off = fetch_data_word_abs(0, iv * 4 + 2); in x86emu_print_int_vect()
|
/u-boot/arch/arm/include/asm/arch-imx8/ |
A D | image.h | 42 u8 iv[IV_MAX_LEN]; member
|
/u-boot/lib/ |
A D | aes.c | 635 void aes_cbc_encrypt_blocks(u32 key_len, u8 *key_exp, u8 *iv, u8 *src, u8 *dst, in aes_cbc_encrypt_blocks() argument 639 u8 *cbc_chain_data = iv; in aes_cbc_encrypt_blocks() 661 void aes_cbc_decrypt_blocks(u32 key_len, u8 *key_exp, u8 *iv, u8 *src, u8 *dst, in aes_cbc_decrypt_blocks() argument 669 memcpy(cbc_chain_data, iv, AES_BLOCK_LENGTH); in aes_cbc_decrypt_blocks()
|
/u-boot/tools/ |
A D | mxsimage.h | 34 uint8_t iv[16]; member
|
A D | image-host.c | 410 info->iv = malloc(info->cipher->iv_len); in fit_image_setup_cipher() 411 if (!info->iv) { in fit_image_setup_cipher() 421 ret = fit_image_read_data(filename, (unsigned char *)info->iv, in fit_image_setup_cipher() 425 ret = get_random_data((void *)info->iv, info->cipher->iv_len); in fit_image_setup_cipher() 510 free((void *)info.iv); in fit_image_process_cipher()
|
A D | mxsimage.c | 205 static int sb_aes_init(struct sb_image_ctx *ictx, uint8_t *iv, int enc) in sb_aes_init() argument 211 if (!iv) in sb_aes_init() 212 iv = ictx->image_key; in sb_aes_init() 215 ret = EVP_CipherInit(ctx, EVP_aes_128_cbc(), ictx->image_key, iv, enc); in sb_aes_init() 259 uint8_t *iv = sb_header->iv; in sb_aes_reinit() local 264 return sb_aes_init(ictx, iv, enc); in sb_aes_reinit()
|
/u-boot/drivers/bios_emulator/include/x86emu/ |
A D | debug.h | 203 extern void x86emu_print_int_vect(u16 iv);
|
/u-boot/net/ |
A D | net.c | 789 void net_set_timeout_handler(ulong iv, thand_f *f) in net_set_timeout_handler() argument 791 if (iv == 0) { in net_set_timeout_handler() 800 time_delta = iv * CONFIG_SYS_HZ / 1000; in net_set_timeout_handler()
|
/u-boot/doc/driver-model/ |
A D | design.rst | 13 * Viktor Křivák <viktor.krivak@gmail.com>
|
/u-boot/arch/arm/include/asm/arch-octeontx2/csrs/ |
A D | csrs-nix.h | 1245 u64 iv : 32; member
|