diff options
author | Richard Levitte <levitte@openssl.org> | 2021-11-25 18:45:50 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-01-26 21:35:39 +0100 |
commit | f1719858a05a9568ccbd052f160746cf4c027a9e (patch) | |
tree | 583b9b9b41f7c68531c5a5034649cde4a23c01ce /doc | |
parent | 3f6a12a07f52c55dc3f4b0def42680f589f89ed4 (diff) |
Add support for signed BIGNUMs in the OSSL_PARAM API
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17162)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/OSSL_PARAM_int.pod | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/man3/OSSL_PARAM_int.pod b/doc/man3/OSSL_PARAM_int.pod index 9e03ec4ddc..290855e676 100644 --- a/doc/man3/OSSL_PARAM_int.pod +++ b/doc/man3/OSSL_PARAM_int.pod @@ -331,11 +331,10 @@ representable by the target type or parameter. Apart from that, the functions must be used appropriately for the expected type of the parameter. -OSSL_PARAM_get_BN() and OSSL_PARAM_set_BN() currently only support -nonnegative B<BIGNUM>s, and by consequence, only -B<OSSL_PARAM_UNSIGNED_INTEGER>. OSSL_PARAM_construct_BN() currently -constructs an B<OSSL_PARAM> structure with the data type -B<OSSL_PARAM_UNSIGNED_INTEGER>. +OSSL_PARAM_get_BN() and OSSL_PARAM_set_BN() only support nonnegative +B<BIGNUM>s when the desired data type is B<OSSL_PARAM_UNSIGNED_INTEGER>. +OSSL_PARAM_construct_BN() currently constructs an B<OSSL_PARAM> structure +with the data type B<OSSL_PARAM_UNSIGNED_INTEGER>. For OSSL_PARAM_construct_utf8_ptr() and OSSL_PARAM_consstruct_octet_ptr(), I<bsize> is not relevant if the purpose is to send the B<OSSL_PARAM> array |