1/* 2 * Copyright 2025 The OpenSSL Project Authors. All Rights Reserved. 3 * 4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9{- 10use OpenSSL::paramnames qw(produce_param_decoder); 11-} 12 13#include <string.h> 14#include "internal/common.h" 15 16{- produce_param_decoder('blake2_get_ctx', 17 (['MAC_PARAM_SIZE', 'size', 'size_t'], 18 ['MAC_PARAM_BLOCK_SIZE', 'bsize', 'size_t'], 19 )); -} 20 21{- produce_param_decoder('blake2_mac_set_ctx', 22 (['MAC_PARAM_SIZE', 'size', 'size_t'], 23 ['MAC_PARAM_KEY', 'key', 'octet_string'], 24 ['MAC_PARAM_CUSTOM', 'cust', 'octet_string'], 25 ['MAC_PARAM_SALT', 'salt', 'octet_string'], 26 )); -} 27 28