diff options
author | tb <> | 2024-10-28 17:59:45 +0000 |
---|---|---|
committer | tb <> | 2024-10-28 17:59:45 +0000 |
commit | 3730b3cfc1d512f1a6c71b83d5cbdecf724b845a (patch) | |
tree | 260aa70957b18c7a81a8ab39cfe3f65a9bd1b252 /src/lib/libcrypto/dsa | |
parent | 0bd57c6657dcc22878debfe15918c1d2a351a425 (diff) | |
download | openbsd-3730b3cfc1d512f1a6c71b83d5cbdecf724b845a.tar.gz openbsd-3730b3cfc1d512f1a6c71b83d5cbdecf724b845a.tar.bz2 openbsd-3730b3cfc1d512f1a6c71b83d5cbdecf724b845a.zip |
d2i_ECPrivateKey: split private key setting into a helper
Contrary to domain parameters and public key, the private key most be
part of the DER. Convert that to a BIGNUM and set it on the EC_KEY.
Use the dedicated setter for this (which will possibly call the handler
of the EC_KEY_METHOD) rather than doing this by hand.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa')
0 files changed, 0 insertions, 0 deletions