Searched refs:nonce (Results 1 – 6 of 6) sorted by relevance
| /rk3399_rockchip-uboot/drivers/ufs/ |
| H A D | ufs-rockchip-rpmb.c | 242 uint8_t nonce[RPMB_NONCE_SIZE] = { in is_wr_ufs_rpmb_key() local 266 memcpy(data_frame->nonce, nonce, RPMB_NONCE_SIZE); in is_wr_ufs_rpmb_key() 296 uint8_t nonce[RPMB_NONCE_SIZE] = { in ufs_rpmb_read_writecount() local 318 memcpy(data_frame->nonce, nonce, RPMB_NONCE_SIZE); in ufs_rpmb_read_writecount() 356 uint8_t nonce[RPMB_NONCE_SIZE] = { in ufs_rpmb_blk_read() local 383 memcpy(data_frame->nonce, nonce, RPMB_NONCE_SIZE); in ufs_rpmb_blk_read()
|
| H A D | ufs-rockchip-rpmb.h | 61 uint8_t nonce[RPMB_NONCE_SIZE]; member
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_ce.c | 440 static int hw_crypto_ccm128_setiv(u8 *iv_buf, u8 *nonce, u32 nlen, u32 mlen) in hw_crypto_ccm128_setiv() argument 460 memcpy(&iv_buf[1], nonce, 14 - L); in hw_crypto_ccm128_setiv() 512 u8 nonce[AES_BLOCK_SIZE]; in hw_compose_ccm_aad_iv() local 525 memcpy(nonce, &aad_iv[1], 14 - L); in hw_compose_ccm_aad_iv() 533 memcpy(&aad_iv[1], nonce, 14 - L); in hw_compose_ccm_aad_iv() 555 u8 nonce[AES_BLOCK_SIZE]; in rkce_build_ccm_aad() local 562 memset(nonce, 0x00, sizeof(nonce)); in rkce_build_ccm_aad() 565 nonce[0] = (L - 1) & 7; in rkce_build_ccm_aad() 566 ret = hw_crypto_ccm128_setiv(nonce, (u8 *)iv, iv_len, 0); in rkce_build_ccm_aad() 570 memcpy(new_iv, nonce, sizeof(nonce)); in rkce_build_ccm_aad() [all …]
|
| H A D | crypto_v2.c | 834 static int ccm128_set_iv_reg(u32 chn, const u8 *nonce, u32 nlen) in ccm128_set_iv_reg() argument 853 memcpy(&iv_buf[1], nonce, 14 - L); in ccm128_set_iv_reg() 1369 const u8 *key, u32 key_len, const u8 *nonce, u32 nonce_len, in rk_crypto_ae() argument 1391 ret = hw_cipher_init(g_key_chn, key, NULL, key_len, nonce, nonce_len, in rk_crypto_ae()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | mmc.h | 322 unsigned char nonce[RPMB_SZ_NONCE]; member 332 unsigned char nonce[RPMB_SZ_NONCE]; member
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | ch9.h | 930 __u8 nonce[16]; member
|