providers/implementations/digests/blake2_prov.c
providers/implementations/digests/digestcommon.c
providers/implementations/digests/sha3_prov.c
+providers/implementations/include/prov/blake2_params.inc
providers/implementations/macs/cmac_prov.c
providers/implementations/macs/gmac_prov.c
providers/implementations/macs/hmac_prov.c
providers/implementations/ciphers/cipher_chacha20_poly1305.c \
providers/implementations/digests/blake2_prov.c \
providers/implementations/digests/digestcommon.c \
- providers/implementations/digests/sha3_prov.c
- providers/implementations/macs/gmac_prov.c \
+ providers/implementations/digests/sha3_prov.c \
+ providers/implementations/include/prov/blake2_params.inc \
providers/implementations/macs/cmac_prov.c \
+ providers/implementations/macs/gmac_prov.c \
providers/implementations/macs/hmac_prov.c \
providers/implementations/macs/kmac_prov.c \
providers/implementations/macs/poly1305_prov.c \
providers/implementations/digests/blake2_prov.c \
providers/implementations/digests/digestcommon.c \
providers/implementations/digests/sha3_prov.c \
+ providers/implementations/include/prov/blake2_params.inc \
providers/implementations/macs/cmac_prov.c \
providers/implementations/macs/gmac_prov.c \
providers/implementations/macs/hmac_prov.c \
providers/implementations/digests/digestcommon.c.in
GENERATE[providers/implementations/digests/sha3_prov.c]=\
providers/implementations/digests/sha3_prov.c.in
+GENERATE[providers/implementations/include/prov/blake2_params.inc]=\
+ providers/implementations/include/prov/blake2_params.inc.in
GENERATE[providers/implementations/macs/cmac_prov.c]=\
providers/implementations/macs/cmac_prov.c.in
GENERATE[providers/implementations/macs/gmac_prov.c]=\
--- /dev/null
+/*
+ * Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+{-
+use OpenSSL::paramnames qw(produce_param_decoder);
+-}
+
+#include <string.h>
+#include "internal/common.h"
+
+{- produce_param_decoder('blake2_get_ctx',
+ (['MAC_PARAM_SIZE', 'size', 'size_t'],
+ ['MAC_PARAM_BLOCK_SIZE', 'bsize', 'size_t'],
+ )); -}
+
+{- produce_param_decoder('blake2_mac_set_ctx',
+ (['MAC_PARAM_SIZE', 'size', 'size_t'],
+ ['MAC_PARAM_KEY', 'key', 'octet_string'],
+ ['MAC_PARAM_CUSTOM', 'cust', 'octet_string'],
+ ['MAC_PARAM_SALT', 'salt', 'octet_string'],
+ )); -}
+