Emilia Kasper
07977739f0
NISTZ256: use EC_POINT API and check errors.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 6038354cf8ca0792420c1ac0ce50d6d2f0aedebf)
2015-04-27 19:50:19 +02:00
Emilia Kasper
c7e78b6bed
NISTZ256: don't swallow malloc errors
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit a4d5269e6d0dba0c276c968448a3576f7604666a)
2015-04-27 18:06:01 +02:00
Emilia Kasper
df6c736fbd
NISTZ256: set Z_is_one to boolean 0/1 as is customary.
...
Cosmetic, no real effect.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 4446044a793a9103a4bc70c0214005e6a4463767)
2015-04-27 16:50:05 +02:00
Emilia Kasper
c30a1b3b33
Error checking and memory leak fixes in NISTZ256.
...
Thanks to Brian Smith for reporting these issues.
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-04-27 16:37:19 +02:00
Emilia Kasper
9ed55313a7
Fix error checking and memory leaks in NISTZ256 precomputation.
...
Thanks to Brian Smith for reporting these issues.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 53dd4ddf71ad79a64be934ca19445b1cf560adab)
2015-04-24 17:47:01 +02:00
Emilia Kasper
7238a82c8a
Correctly set Z_is_one on the return value in the NISTZ256 implementation.
...
Also add a few comments about constant-timeness.
Thanks to Brian Smith for reporting this issue.
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-04-24 17:35:56 +02:00
Andy Polyakov
319d5c7a58
ec/ecp_nistz256.c: further harmonization with latest rules.
...
Conflicts:
crypto/ec/ecp_nistz256.c
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22 09:28:26 +00:00
Andy Polyakov
e1e7dc5085
ec/ecp_nistz256.c: harmonize with latest indent script.
...
Conflicts:
crypto/ec/ecp_nistz256.c
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22 09:27:52 +00:00
Andy Polyakov
9fa9370b6f
crypto/ecp_nistz256.c: harmonize error codes.
...
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit be07ae9b10ea57242baa1f15291af162442531d6)
2014-09-22 00:11:04 +02:00
Dr. Stephen Henson
12f14b1d8f
Fix warning.
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 16e5b45f72cd69b71ca28e84044d2354e068888c)
2014-09-22 00:10:53 +02:00
Andy Polyakov
3842a64d36
Add ECP_NISTZ256 by Shay Gueron, Intel Corp.
...
RT: 3149
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 4d3fa06fce52682bfbc503c7ded2d0289e3f8cde)
2014-09-22 00:07:44 +02:00