]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/internal/param_build_set.h
d1f18633816d674290db470a11417a6540125994
[thirdparty/openssl.git] / include / internal / param_build_set.h
1 /*
2 * Copyright 2020 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
10 #include <openssl/safestack.h>
11 #include <openssl/param_build.h>
12
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_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
16 const char *key, long num);
17 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
18 const char *key, const char *buf);
19 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
20 const char *key,
21 const unsigned char *data,
22 size_t data_len);
23 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
24 const char *key, const BIGNUM *bn);
25 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
26 const char *key, const BIGNUM *bn, size_t sz);
27 int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
28 const char *names[],
29 STACK_OF(BIGNUM_const) *stk);