Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap BN_bn2bin_padded() which comes useful for exporting fixed-length BIGNUMs, more efficient than padding result of to_vec() afterwards. Note that in OpenSSL the function is called BN_bn2binpad() and has a different order of arguments. BoringSSL's BN_bn2bin_padded() also takes the desired length as "size_t".
- Loading branch information