Permalink
Please sign in to comment.
Browse files
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@
- Loading branch information...
Showing
with
249 additions
and 47 deletions.
- +3 −2 src/lib/libcrypto/Makefile
- +3 −1 src/lib/libcrypto/bn/bn.h
- +2 −2 src/lib/libcrypto/bn/bn_blind.c
- +55 −11 src/lib/libcrypto/bn/bn_exp.c
- +11 −1 src/lib/libcrypto/bn/bn_lcl.h
- +2 −2 src/lib/libcrypto/bn/bn_prime.c
- +5 −5 src/lib/libcrypto/bn/bn_sqrt.c
- +4 −2 src/lib/libcrypto/dh/dh_key.c
- +3 −3 src/lib/libcrypto/dsa/dsa_ameth.c
- +3 −2 src/lib/libcrypto/dsa/dsa_gen.c
- +3 −2 src/lib/libcrypto/dsa/dsa_key.c
- +4 −2 src/lib/libcrypto/dsa/dsa_ossl.c
- +4 −2 src/lib/libcrypto/pem/pvkfmt.c
- +4 −2 src/lib/libcrypto/rsa/rsa_eay.c
- +2 −2 src/regress/lib/libcrypto/bn/general/Makefile
- +81 −0 src/regress/lib/libcrypto/bn/general/bntest.c
- +2 −2 src/regress/lib/libcrypto/bn/mont/Makefile
- +3 −3 src/regress/lib/libcrypto/exp/Makefile
- +55 −1 src/regress/lib/libcrypto/exp/exptest.c
Oops, something went wrong.
0 comments on commit
952c125