Searched refs:NX_GCM4106_NONCE_LEN (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx.h | 84 #define NX_GCM4106_NONCE_LEN (4) macro 92 u8 nonce[NX_GCM4106_NONCE_LEN];
|
H A D | nx-aes-gcm.c | 444 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()
|
/kernel/linux/linux-6.6/drivers/crypto/nx/ |
H A D | nx.h | 84 #define NX_GCM4106_NONCE_LEN (4) macro 92 u8 nonce[NX_GCM4106_NONCE_LEN];
|
H A D | nx-aes-gcm.c | 444 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()
|
Completed in 4 milliseconds