diff options
author | Richard Levitte <levitte@openssl.org> | 2021-11-25 17:55:41 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-01-20 17:58:08 +0100 |
commit | f5e8050fdcf2083825ef450d51bfacac21d2730e (patch) | |
tree | 0fd8e023bf28dd60713f843c03db4893a2503191 /util/libcrypto.num | |
parent | [refactor] BIGNUM: Modify bin2bn() to work from least to most significant chunk (diff) | |
download | openssl-f5e8050fdcf2083825ef450d51bfacac21d2730e.tar.xz openssl-f5e8050fdcf2083825ef450d51bfacac21d2730e.zip |
Add signed bn2bin and bin2bn functions
This adds the functions BN_signed_bin2bn(), BN_signed_bn2bin(),
BN_signed_lebin2bn(), BN_signed_bn2lebin(), BN_signed_native2bn(),
and BN_signed_bn2native(), all essentially doing the same job as
BN_bin2bn(), BN_bn2binpad(), BN_lebin2bn(), BN_bn2lebinpad(),
BN_native2bn(), and BN_bn2nativepad(), except that the 'signed'
ones operate on signed number bins in 2's complement form.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17139)
Diffstat (limited to 'util/libcrypto.num')
-rw-r--r-- | util/libcrypto.num | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 762e23a858..7b63154b55 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5428,3 +5428,9 @@ EVP_PKEY_CTX_get0_provider 5555 3_0_0 EXIST::FUNCTION: OSSL_STACK_OF_X509_free ? 3_1_0 EXIST::FUNCTION: EVP_MD_CTX_dup ? 3_1_0 EXIST::FUNCTION: EVP_CIPHER_CTX_dup ? 3_1_0 EXIST::FUNCTION: +BN_signed_bin2bn ? 3_1_0 EXIST::FUNCTION: +BN_signed_bn2bin ? 3_1_0 EXIST::FUNCTION: +BN_signed_lebin2bn ? 3_1_0 EXIST::FUNCTION: +BN_signed_bn2lebin ? 3_1_0 EXIST::FUNCTION: +BN_signed_native2bn ? 3_1_0 EXIST::FUNCTION: +BN_signed_bn2native ? 3_1_0 EXIST::FUNCTION: |