Home
last modified time | relevance | path

Searched refs:NX_GCM4106_NONCE_LEN (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/crypto/nx/
Dnx.h95 #define NX_GCM4106_NONCE_LEN (4) macro
103 u8 nonce[NX_GCM4106_NONCE_LEN];
Dnx-aes-gcm.c460 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_encrypt()
461 memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); in gcm4106_aes_nx_encrypt()
477 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_decrypt()
478 memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); in gcm4106_aes_nx_decrypt()