* cipher/cipher-internal.h (struct gcry_cipher_handle): Use GCRY_GCM_BLOCK_LEN.
-- The constants are same, but it's good to use "GCM" semantically. Signed-off-by: NIIBE Yutaka <gni...@fsij.org> --- cipher/cipher-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cipher/cipher-internal.h b/cipher/cipher-internal.h index 857b5da8..f2a2099a 100644 --- a/cipher/cipher-internal.h +++ b/cipher/cipher-internal.h @@ -352,7 +352,7 @@ struct gcry_cipher_handle } u_tag; /* Space to save partial input lengths for MAC. */ - unsigned char macbuf[GCRY_CCM_BLOCK_LEN]; + unsigned char macbuf[GCRY_GCM_BLOCK_LEN]; int mac_unused; /* Number of unprocessed bytes in MACBUF. */ /* byte counters for GCM */
_______________________________________________ Gcrypt-devel mailing list Gcrypt-devel@gnupg.org https://lists.gnupg.org/mailman/listinfo/gcrypt-devel