blob: d5b921729b7cbc025342ca0d58d2de5deebce7ac [file] [edit]
/*
* Copyright 2026 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);
-}
{- produce_param_decoder('cipher_cts_get_ctx_params',
(['OSSL_CIPHER_PARAM_KEYLEN', 'common.keylen', 'size_t'],
['OSSL_CIPHER_PARAM_IVLEN', 'common.ivlen', 'size_t'],
['OSSL_CIPHER_PARAM_IV', 'common.iv', 'octet_string'],
['OSSL_CIPHER_PARAM_UPDATED_IV', 'common.updiv', 'octet_string'],
['OSSL_CIPHER_PARAM_CTS_MODE', 'mode', 'utf8_string'],
)); -}
{- produce_param_decoder('cipher_cts_set_ctx_params',
(['OSSL_CIPHER_PARAM_CTS_MODE', 'mode', 'utf8_string'],
)); -}