summaryrefslogtreecommitdiffstats
path: root/providers/implementations/macs/blake2b_mac.c
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-24 14:22:17 +1000
committerPauli <pauli@openssl.org>2021-05-25 17:23:50 +1000
commiteb1b66f00ca4e1fb6f9e815e8686768b6d81722d (patch)
treeabe98cebf08f1f7eaa4c63fe72b7f8fc8948171c /providers/implementations/macs/blake2b_mac.c
parent36b6db08fe3dbb58ba2a45a6170f21b5149dfe26 (diff)
mac: add a getter for the MAC block size.
Fixes #12342 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15427)
Diffstat (limited to 'providers/implementations/macs/blake2b_mac.c')
-rw-r--r--providers/implementations/macs/blake2b_mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/implementations/macs/blake2b_mac.c b/providers/implementations/macs/blake2b_mac.c
index 0bc5b1c275..b445cbd578 100644
--- a/providers/implementations/macs/blake2b_mac.c
+++ b/providers/implementations/macs/blake2b_mac.c
@@ -14,6 +14,7 @@
#define BLAKE2_OUTBYTES BLAKE2B_OUTBYTES
#define BLAKE2_PERSONALBYTES BLAKE2B_PERSONALBYTES
#define BLAKE2_SALTBYTES BLAKE2B_SALTBYTES
+#define BLAKE2_BLOCKBYTES BLAKE2B_BLOCKBYTES
/* Function names */
#define BLAKE2_PARAM_INIT ossl_blake2b_param_init