openssl/crypto/dsa
Pauli 415c335635 DSA mod inverse fix
There is a side channel attack against the division used to calculate one of
the modulo inverses in the DSA algorithm.  This change takes advantage of the
primality of the modulo and Fermat's little theorem to calculate the inverse
without leaking information.

Thanks to Samuel Weiser for finding and reporting this.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7487)
2018-10-29 06:50:51 +10:00
..
build.info
dsa_ameth.c
dsa_asn1.c
dsa_depr.c
dsa_err.c
dsa_gen.c
dsa_key.c
dsa_lib.c Harmonize the error handling codepath 2018-09-05 15:22:35 +03:00
dsa_locl.h
dsa_meth.c
dsa_ossl.c DSA mod inverse fix 2018-10-29 06:50:51 +10:00
dsa_pmeth.c
dsa_prn.c
dsa_sign.c Update copyright year 2018-09-11 13:45:17 +01:00
dsa_vrf.c