X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fbn.h;fp=include%2Fopenssl%2Fbn.h;h=2217ec085766658e0d1620fcb3374feb22fc8033;hp=1e4b27bf02eb1077649abcc6cd048fda3ce0978f;hb=c781eb1c63c243cb64dbe3066a43dc172aaab3b8;hpb=db89d8f04bb131bbf0e2b87eb9a1515076c893d3 diff --git a/include/openssl/bn.h b/include/openssl/bn.h index 1e4b27bf02..2217ec0857 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -312,6 +312,11 @@ int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx); +int BN_mod_exp_mont_consttime_x2(BIGNUM *rr1, const BIGNUM *a1, const BIGNUM *p1, + const BIGNUM *m1, BN_MONT_CTX *in_mont1, + BIGNUM *rr2, const BIGNUM *a2, const BIGNUM *p2, + const BIGNUM *m2, BN_MONT_CTX *in_mont2, + BN_CTX *ctx); int BN_mask_bits(BIGNUM *a, int n); # ifndef OPENSSL_NO_STDIO