diff options
author | Richard Levitte <levitte@openssl.org> | 2021-11-25 18:46:32 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-01-26 21:35:39 +0100 |
commit | 17898ec6011cc583c5af69ca8f25f5d165ff3e6a (patch) | |
tree | 6e56e81da933b0141b8ac7e9d243ee829a66bdf9 /include | |
parent | f1719858a05a9568ccbd052f160746cf4c027a9e (diff) |
Add support for signed BIGNUMs in the OSSL_PARAM_BLD API
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17162)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/param_build_set.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/internal/param_build_set.h b/include/internal/param_build_set.h index 126211b7f2..8ca7720379 100644 --- a/include/internal/param_build_set.h +++ b/include/internal/param_build_set.h @@ -39,6 +39,11 @@ int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, const BIGNUM *bn); int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *key, const BIGNUM *bn, size_t sz); +int ossl_param_build_set_signed_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, + const char *key, const BIGNUM *bn); +int ossl_param_build_set_signed_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, + const char *key, const BIGNUM *bn, + size_t sz); int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, const char *names[], STACK_OF(BIGNUM_const) *stk); |