Home
last modified time | relevance | path

Searched defs:key_len (Results 1 – 19 of 19) sorted by relevance

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_v2.c206 static inline void write_key_reg(u32 chn, const u8 *key, u32 key_len) in write_key_reg()
682 int rk_hmac_init(void *hw_ctx, u32 algo, u8 *key, u32 key_len) in rk_hmac_init()
705 sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
901 u32 key_len, const u8 *iv, u32 iv_len, in hw_cipher_init()
1164 static int hw_aes_init(u32 chn, const u8 *key, const u8 *twk_key, u32 key_len, in hw_aes_init()
1199 static int hw_sm4_init(u32 chn, const u8 *key, const u8 *twk_key, u32 key_len, in hw_sm4_init()
1226 int rk_crypto_des(struct udevice *dev, u32 mode, const u8 *key, u32 key_len, in rk_crypto_des()
1259 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_aes()
1280 const u8 *key, const u8 *twk_key, u32 key_len, in rk_crypto_sm4()
1326 const u8 *key, u32 key_len, in rk_crypto_mac()
[all …]
H A Dcrypto_ce.c276 u8 *key, u32 key_len, bool is_hmac) in rk_sha_init()
422 static int rockchip_crypto_hmac_init(struct udevice *dev, sha_context *ctx, u8 *key, u32 key_len) in rockchip_crypto_hmac_init()
689 u32 rk_get_td_keysize(u32 ce_algo, u32 ce_mode, u32 key_len) in rk_get_td_keysize()
H A Drkce_core.c96 uint32_t algo, uint32_t mode, uint32_t key_len) in rk_is_cipher_support()
/rk3399_rockchip-uboot/include/
H A Dfsl_validate.h110 u32 key_len; /* pub key length in bytes */ member
167 u32 key_len; member
180 u32 key_len; member
237 u32 key_len; member
H A Dcrypto.h86 u32 key_len; member
94 u32 key_len; member
H A Dimage.h1199 const int key_len; member
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-verify.c91 const uint32_t sig_len, const uint32_t key_len, in rsa_mod_exp_hw()
399 const uint32_t key_len) in rsa_verify_key()
614 uint32_t key_len; in rsa_burn_key_hash() local
H A Drsa-sign.c728 int key_len, const char *csum_algo) in rsa_set_key_hash()
/rk3399_rockchip-uboot/board/freescale/common/
H A Dfsl_validate.c27 #define CHECK_KEY_LEN(key_len) (((key_len) == 2 * KEY_SIZE_BYTES / 4) || \ argument
786 uint32_t key_len; in calculate_cmp_img_sig() local
/rk3399_rockchip-uboot/include/optee_include/
H A DOpteeClientInterface.h67 uint32_t key_len; member
/rk3399_rockchip-uboot/cmd/
H A Dcrypto.c30 u32 key_len; member
40 u32 key_len; member
320 const u8 *key, u32 key_len, ulong *MBps) in test_hash_perf()
H A Dtpm.c600 uint32_t key_len, key_handle, err; in do_tpm_load_key_by_sha1() local
637 uint32_t parent_handle, key_len, key_handle, err; in do_tpm_load_key2_oiap() local
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_rockusb.c603 uint32_t key_len = vhead->size - 9; in rkusb_do_vs_write() local
624 uint32_t key_len = vhead->size - 9; in rkusb_do_vs_write() local
/rk3399_rockchip-uboot/lib/avb/libavb/
H A Davb_cmdline.c136 size_t offset, key_len, value_len; in cmdline_append_option() local
/rk3399_rockchip-uboot/drivers/crypto/
H A Dcrypto-uclass.c203 u8 *key, u32 key_len) in crypto_hmac_init()
/rk3399_rockchip-uboot/lib/
H A Dhashtable.c205 size_t key_len = strlen(match); in hmatch_r() local
/rk3399_rockchip-uboot/common/spl/
H A Dspl_fit.c163 int key_len = 16; in spl_fit_image_uncipher() local
/rk3399_rockchip-uboot/common/
H A Dimage-fit.c1588 int key_len = 16; in fit_image_uncipher() local
/rk3399_rockchip-uboot/fs/ubifs/
H A Dubifs.h1920 int key_len; member