/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 78 char *nonce = nx_ctx->priv.gcm.nonce; in gcm4106_aes_nx_set_key() local 90 memcpy(nonce, in_key + key_len, 4); in gcm4106_aes_nx_set_key() 457 char *nonce = nx_ctx->priv.gcm.nonce; in gcm4106_aes_nx_encrypt() local 459 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_encrypt() 474 char *nonce = nx_ctx->priv.gcm.nonce; in gcm4106_aes_nx_decrypt() local 476 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_decrypt()
|
D | nx.h | 102 u8 nonce[NX_GCM4106_NONCE_LEN]; member 116 u8 nonce[NX_CCM4309_NONCE_LEN]; member 124 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member
|
D | nx-aes-ctr.c | 75 memcpy(nx_ctx->priv.ctr.nonce, in ctr3686_aes_nx_set_key() 136 memcpy(iv, nx_ctx->priv.ctr.nonce, CTR_RFC3686_IV_SIZE); in ctr3686_aes_nx_crypt()
|
D | nx-aes-ccm.c | 76 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key() 500 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_encrypt() 530 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_decrypt()
|
/drivers/gpu/drm/radeon/ |
D | vce_v1_0.c | 46 uint32_t nonce[4]; member 190 data[0] = sign->val[i].nonce[0]; in vce_v1_0_load_fw() 191 data[1] = sign->val[i].nonce[1]; in vce_v1_0_load_fw() 192 data[2] = sign->val[i].nonce[2]; in vce_v1_0_load_fw() 193 data[3] = sign->val[i].nonce[3]; in vce_v1_0_load_fw()
|
/drivers/usb/wusbcore/ |
D | security.c | 396 get_random_bytes(&hs[0].nonce, sizeof(hs[0].nonce)); in wusb_dev_4way_handshake() 451 memcpy(keydvt_in.hnonce, hs[0].nonce, sizeof(keydvt_in.hnonce)); in wusb_dev_4way_handshake() 452 memcpy(keydvt_in.dnonce, hs[1].nonce, sizeof(keydvt_in.dnonce)); in wusb_dev_4way_handshake() 479 memcpy(hs[2].nonce, hs[0].nonce, sizeof(hs[2].nonce)); in wusb_dev_4way_handshake()
|
D | crypto.c | 387 .nonce = { 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, in wusb_oob_mic_verify()
|
/drivers/crypto/caam/ |
D | pdb.h | 197 u32 nonce; member 209 u32 nonce; member
|
D | caamalg.c | 201 u32 *nonce; in append_key_aead() local 228 nonce = (u32 *)((void *)ctx->key + ctx->split_key_pad_len + in append_key_aead() 230 append_load_imm_u32(desc, *nonce, LDST_CLASS_IND_CCB | in append_key_aead() 1492 u32 *nonce; in ablkcipher_setkey() local 1545 nonce = (u32 *)(key + keylen); in ablkcipher_setkey() 1546 append_load_imm_u32(desc, *nonce, LDST_CLASS_IND_CCB | in ablkcipher_setkey() 1604 nonce = (u32 *)(key + keylen); in ablkcipher_setkey() 1605 append_load_imm_u32(desc, *nonce, LDST_CLASS_IND_CCB | in ablkcipher_setkey() 1667 nonce = (u32 *)(key + keylen); in ablkcipher_setkey() 1668 append_load_imm_u32(desc, *nonce, LDST_CLASS_IND_CCB | in ablkcipher_setkey()
|
/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 164 memcpy(ctx->u.aes.nonce, key + key_len, CTR_RFC3686_NONCE_SIZE); in ccp_aes_rfc3686_setkey() 177 memcpy(iv, ctx->u.aes.nonce, CTR_RFC3686_NONCE_SIZE); in ccp_aes_rfc3686_crypt()
|
D | ccp-crypto.h | 85 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member
|
/drivers/char/tpm/ |
D | tpm2-cmd.c | 400 const u8 *nonce, u16 nonce_len, in tpm2_buf_append_auth() argument 408 if (nonce && nonce_len) in tpm2_buf_append_auth() 409 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth()
|
/drivers/crypto/ |
D | ixp4xx_crypto.c | 187 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member 875 memcpy(ctx->nonce, key + (key_len - CTR_RFC3686_NONCE_SIZE), in ablk_rfc3686_setkey() 974 memcpy(iv, ctx->nonce, CTR_RFC3686_NONCE_SIZE); in ablk_rfc3686_crypt()
|
D | s5p-sss.c | 172 uint8_t nonce[CTR_RFC3686_NONCE_SIZE]; member
|