2 * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
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
10 #include <openssl/safestack.h>
11 #include <openssl/param_build.h>
13 int ossl_param_build_set_int(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
14 const char *key, int num);
15 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
16 const char *key, const char *buf);
17 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
19 const unsigned char *data,
21 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
22 const char *key, const BIGNUM *bn);
23 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
24 const char *key, const BIGNUM *bn, size_t sz);
25 int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
27 STACK_OF(BIGNUM_const) *stk);