Correctly set Z_is_one on the return value in the NISTZ256 implementation.
authorEmilia Kasper <emilia@openssl.org>
Fri, 24 Apr 2015 13:19:15 +0000 (15:19 +0200)
committerEmilia Kasper <emilia@openssl.org>
Fri, 24 Apr 2015 15:35:56 +0000 (17:35 +0200)
commit7238a82c8ae4dbf9043cb7c253f796615b3277a6
tree7019b93d6cb0cc5b4adce5d71627dcc5e57adbeb
parent6e5d13076503e9ec7f1c2c690339f99284b7d283
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>
crypto/ec/ecp_nistz256.c