Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/nx/
H A Dnx.h84 #define NX_GCM4106_NONCE_LEN (4) macro
92 u8 nonce[NX_GCM4106_NONCE_LEN];
H A Dnx-aes-gcm.c444 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_encrypt()
445 memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); in gcm4106_aes_nx_encrypt()
461 memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); in gcm4106_aes_nx_decrypt()
462 memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); in gcm4106_aes_nx_decrypt()