Fixed modular reduction bug in the special field for P-256 (in some rare cases, value...
authorThomas Pornin <pornin@bolet.org>
Fri, 23 Jun 2017 22:31:09 +0000 (00:31 +0200)
committerThomas Pornin <pornin@bolet.org>
Fri, 23 Jun 2017 22:31:09 +0000 (00:31 +0200)
commit2b738493bd16d57fdb12d38d03631981370259be
tree1fb0cf53ee1aae4129cf10e4dd9effbf1f573633
parentd8641065c992e2d06494d51f151355635f05dfa0
Fixed modular reduction bug in the special field for P-256 (in some rare cases, value would end up being negative, which would corrupt subsequent operations).
src/ec/ec_p256_m15.c
src/ec/ec_p256_m31.c
test/test_crypto.c