diff options
author | Douglas E Engert <deengert@gmail.com> | 2015-03-26 00:52:28 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-31 17:33:29 +0200 |
commit | 30cd4ff294252c4b6a4b69cbef6a5b4117705d22 (patch) | |
tree | 004fa064ac253900f83a8308eaf99c4d53b0e684 /crypto/rc2 | |
parent | Clean up record layer (diff) | |
download | openssl-30cd4ff294252c4b6a4b69cbef6a5b4117705d22.tar.xz openssl-30cd4ff294252c4b6a4b69cbef6a5b4117705d22.zip |
Ensure EC private keys retain leading zeros
RFC5915 requires the use of the I2OSP primitive as defined in RFC3447
for storing an EC Private Key. This converts the private key into an
OCTETSTRING and retains any leading zeros. This commit ensures that those
leading zeros are present if required.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/rc2')
0 files changed, 0 insertions, 0 deletions