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 /test | |
parent | c30de601850f367e4c16ad91c0168a2e0dc647c0 (diff) |
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 'test')
0 files changed, 0 insertions, 0 deletions