Add secure DSA nonce flag.
authorAdam Langley <agl@chromium.org>
Thu, 24 Jan 2013 21:27:28 +0000 (16:27 -0500)
committerBen Laurie <ben@links.org>
Thu, 13 Jun 2013 16:26:07 +0000 (17:26 +0100)
commit8a99cb29d1f0013243a532bccc1dc70ed678eebe
treee29022ee28dbc0e6507597b2baf094760924f421
parent64a786a292e301bfbcb269cd2bff0533503d5b8b
Add secure DSA nonce flag.

This change adds the option to calculate (EC)DSA nonces by hashing the
message and private key along with entropy to avoid leaking the private
key if the PRNG fails.
15 files changed:
crypto/bn/bn.h
crypto/bn/bn_err.c
crypto/bn/bn_rand.c
crypto/dsa/dsa.h
crypto/dsa/dsa_err.c
crypto/dsa/dsa_ossl.c
crypto/dsa/dsa_sign.c
crypto/ec/ec.h
crypto/ec/ec_key.c
crypto/ec/ec_lcl.h
crypto/ecdsa/ecdsa.h
crypto/ecdsa/ecs_err.c
crypto/ecdsa/ecs_locl.h
crypto/ecdsa/ecs_ossl.c
crypto/ecdsa/ecs_sign.c