Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_v2.c211 static inline void set_iv_reg(u32 chn, const u8 *iv, u32 iv_len) in set_iv_reg() argument
220 if (!iv || iv_len == 0) in set_iv_reg()
223 write_regs(base_iv, iv, iv_len); in set_iv_reg()
228 static inline void get_iv_reg(u32 chn, u8 *iv, u32 iv_len) in get_iv_reg() argument
234 read_regs(base_iv, iv, iv_len); in get_iv_reg()
901 u32 key_len, const u8 *iv, u32 iv_len, in hw_cipher_init() argument
913 __func__, key, key_len, iv); in hw_cipher_init()
968 ccm128_set_iv_reg(chn, iv, iv_len); in hw_cipher_init()
970 set_iv_reg(chn, iv, iv_len); in hw_cipher_init()
1165 const u8 *iv, u32 iv_len, u32 mode, bool enc) in hw_aes_init() argument
[all …]
H A Dcrypto_ce.c549 u8 *iv, u32 iv_len, in rkce_build_ccm_aad() argument
566 ret = hw_crypto_ccm128_setiv(nonce, (u8 *)iv, iv_len, 0); in rkce_build_ccm_aad()
786 memcpy(hw_ctx->td_buf->iv, ctx->iv, ctx->iv_len); in rk_crypto_cipher()
806 hw_ctx->td_buf->iv, ctx->iv_len, in rk_crypto_cipher()
808 hw_ctx->td_buf->iv, &new_iv_len); in rk_crypto_cipher()
924 cipher_ctx.iv = ctx->iv; in rockchip_crypto_fw_cipher()
H A Drkce_core.c506 td->iv_addr = rkce_cma_virt2phys(buf->iv); in rkce_init_symm_td()
/rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/
H 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()
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap4/
H A Di2c.h27 unsigned short iv; /* 0x34 */ member
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/
H A Di2c.h27 unsigned short iv; /* 0x34 */ member
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/
H A Di2c.h31 unsigned short iv; /* 0x34 */ member
/rk3399_rockchip-uboot/cmd/
H A Dcrypto.c41 const u8 *iv; member
119 .iv = (iv_val), \
127 #define CIPHER_TEST(algo, mode, key, iv, plain, cipher) \ argument
128 CIPHER_XTS_TEST(algo, mode, key, NULL, iv, plain, cipher)
138 .iv = (iv_val), \
537 ctx.iv = test_data->iv; in test_cipher_result()
/rk3399_rockchip-uboot/include/
H A Dcrypto.h87 const u8 *iv; member
95 const u8 *iv; member
/rk3399_rockchip-uboot/common/spl/
H A Dspl_fit.c161 const void *iv; in spl_fit_image_uncipher() local
191 iv = fdt_getprop(fit, cipher_noffset, "iv", &iv_len); in spl_fit_image_uncipher()
192 if (!iv) { in spl_fit_image_uncipher()
208 ctx.iv = iv; in spl_fit_image_uncipher()
/rk3399_rockchip-uboot/include/rockchip/
H A Drkce_core.h167 uint8_t iv[RKCE_TD_IV_SIZE]; // offset 0x40 member
186 uint8_t iv[RKCE_TD_IV_SIZE]; // offset 0x80 member
/rk3399_rockchip-uboot/tools/
H A Dmxsimage.h35 uint8_t iv[16]; member
H A Dmxsimage.c204 static int sb_aes_init(struct sb_image_ctx *ictx, uint8_t *iv, int enc) in sb_aes_init() argument
210 if (!iv) in sb_aes_init()
211 iv = ictx->image_key; in sb_aes_init()
214 ret = EVP_CipherInit(ctx, EVP_aes_128_cbc(), ictx->image_key, iv, enc); in sb_aes_init()
258 uint8_t *iv = sb_header->iv; in sb_aes_reinit() local
263 return sb_aes_init(ictx, iv, enc); in sb_aes_reinit()
/rk3399_rockchip-uboot/drivers/bios_emulator/include/x86emu/
H A Ddebug.h203 extern void x86emu_print_int_vect(u16 iv);
/rk3399_rockchip-uboot/include/optee_include/
H A DOpteeClientInterface.h68 uint8_t iv[16]; member
/rk3399_rockchip-uboot/common/
H A Dimage-fit.c1585 const void *iv; in fit_image_uncipher() local
1606 iv = fdt_getprop(fit, cipher_noffset, "iv", &iv_len); in fit_image_uncipher()
1607 if (!iv) { in fit_image_uncipher()
1623 memcpy(config.iv, iv, key_len); in fit_image_uncipher()
/rk3399_rockchip-uboot/net/
H A Dnet.c772 void net_set_timeout_handler(ulong iv, thand_f *f) in net_set_timeout_handler() argument
774 if (iv == 0) { in net_set_timeout_handler()
783 time_delta = iv * CONFIG_SYS_HZ / 1000; in net_set_timeout_handler()
/rk3399_rockchip-uboot/
H A Dmake.sh417 ${TOOLCHAIN_NM} -r --size ${ELF} | grep -iv 'b' | less
/rk3399_rockchip-uboot/doc/driver-model/
H A DREADME.txt10 Viktor Křivák <viktor.krivak@gmail.com>