/*
 * 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',
                         (['OSSL_MAC_PARAM_SIZE',                    'size',   'size_t'],
                          ['OSSL_MAC_PARAM_BLOCK_SIZE',              'bsize',  'size_t'],
                         )); -}

{- produce_param_decoder('blake2_mac_set_ctx',
                         (['OSSL_MAC_PARAM_SIZE',    'size', 'size_t'],
                          ['OSSL_MAC_PARAM_KEY',     'key',  'octet_string'],
                          ['OSSL_MAC_PARAM_CUSTOM',  'cust', 'octet_string'],
                          ['OSSL_MAC_PARAM_SALT',    'salt', 'octet_string'],
                         )); -}
    
