Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/crypto/
Dghash-ce-glue.c31 #define GCM_IV_SIZE 12 macro
434 memcpy(iv, req->iv, GCM_IV_SIZE); in gcm_encrypt()
435 put_unaligned_be32(1, iv + GCM_IV_SIZE); in gcm_encrypt()
444 put_unaligned_be32(2, iv + GCM_IV_SIZE); in gcm_encrypt()
446 put_unaligned_be32(3, iv + GCM_IV_SIZE); in gcm_encrypt()
448 put_unaligned_be32(4, iv + GCM_IV_SIZE); in gcm_encrypt()
468 put_unaligned_be32(2, iv + GCM_IV_SIZE); in gcm_encrypt()
554 memcpy(iv, req->iv, GCM_IV_SIZE); in gcm_decrypt()
555 put_unaligned_be32(1, iv + GCM_IV_SIZE); in gcm_decrypt()
564 put_unaligned_be32(2, iv + GCM_IV_SIZE); in gcm_decrypt()
[all …]