CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/01/21 02:38:59
Modified files:
regress/lib/libcrypto/bn/general: Makefile bntest.c
regress/lib/libcrypto/bn/mont: Makefile
regress/lib/libcrypto/exp: Makefile exptest.c
lib/libcrypto : Makefile
lib/libcrypto/bn: bn.h bn_blind.c bn_exp.c bn_lcl.h bn_prime.c
bn_sqrt.c
lib/libcrypto/dh: dh_key.c
lib/libcrypto/dsa: dsa_ameth.c dsa_gen.c dsa_key.c dsa_ossl.c
lib/libcrypto/pem: pvkfmt.c
lib/libcrypto/rsa: rsa_eay.c
Log message:
Make explicit _ct and _nonct versions of bn_mod_exp funcitons that
matter for constant time, and make the public interface only used
external to the library.
This moves us to a model where the important things are constant time
versions unless you ask for them not to be, rather than the opposite.
I'll continue with this method by method.
Add regress tests for same.
ok jsing@