openssl/crypto/ec
Douglas E Engert 3d5bb773ec 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>
(cherry picked from commit 30cd4ff294)

Conflicts:
	crypto/ec/ec_asn1.c
2015-03-31 16:38:20 +01:00
..
asm ec/asm/ecp_nistz256-x86_64.pl: update commentary with before-after performance data. 2015-03-28 15:56:28 +01:00
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
ec.h Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ec2_mult.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec2_oct.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec2_smpl.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ec_ameth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_asn1.c Ensure EC private keys retain leading zeros 2015-03-31 16:38:20 +01:00
ec_check.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_curve.c FIPS build fixes. 2015-01-23 00:12:39 +00:00
ec_cvt.c FIPS build fixes. 2015-01-23 00:12:39 +00:00
ec_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_key.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_lcl.h Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ec_lib.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_mult.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ec_oct.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_pmeth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_print.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
eck_prn.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_mont.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_nist.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_nistp224.c Avoid reading an unused byte after the buffer 2015-03-14 18:24:58 +01:00
ecp_nistp256.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ecp_nistp521.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ecp_nistputil.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_nistz256.c ec/ecp_nistz256.c: further harmonization with latest rules. 2015-01-22 09:28:26 +00:00
ecp_nistz256_table.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_oct.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ecp_smpl.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ectest.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
Makefile Add ECP_NISTZ256 by Shay Gueron, Intel Corp. 2014-09-22 00:07:44 +02:00