Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 18 of 18) sorted by relevance

/u-boot/test/lib/
A Dtest_aes.c45 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 Dcrypto.c53 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 Dimage-cipher.c98 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 Duboot_aes.h94 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 Dimx8image.h116 uint8_t iv[IV_MAX_LEN]; member
A Dimage.h1478 const void *iv; /* Value of the IV */ member
/u-boot/lib/aes/
A Daes-encrypt.c47 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 Daes-decrypt.c36 aes_cbc_decrypt_blocks(key_len, key_exp, (u8 *)info->iv, in image_aes_decrypt()
/u-boot/drivers/bios_emulator/x86emu/
A Ddebug.c198 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 Dimage.h42 u8 iv[IV_MAX_LEN]; member
/u-boot/lib/
A Daes.c635 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 Dmxsimage.h34 uint8_t iv[16]; member
A Dimage-host.c410 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 Dmxsimage.c205 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 Ddebug.h203 extern void x86emu_print_int_vect(u16 iv);
/u-boot/net/
A Dnet.c789 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 Ddesign.rst13 * Viktor Křivák <viktor.krivak@gmail.com>
/u-boot/arch/arm/include/asm/arch-octeontx2/csrs/
A Dcsrs-nix.h1245 u64 iv : 32; member

Completed in 82 milliseconds