/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 127 if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */ in rsa_validate_keypair_multiprime() 145 if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */ in rsa_validate_keypair_multiprime()
|
H A D | rsa_x931g.c | 110 if (!BN_div(r0, NULL, r0, r3, ctx)) in RSA_X931_derive_ex()
|
H A D | rsa_sp800_56b_check.c | 273 && BN_div(lcm, NULL, p1q1, gcd, ctx); /* LCM((p-1, q-1)) */ in ossl_rsa_get_lcm()
|
/third_party/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 127 if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */ in rsa_validate_keypair_multiprime() 145 if (!BN_div(m, NULL, l, m, ctx)) { /* remainder is 0 */ in rsa_validate_keypair_multiprime()
|
H A D | rsa_x931g.c | 110 if (!BN_div(r0, NULL, r0, r3, ctx)) in RSA_X931_derive_ex()
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_mont.c | 333 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) in BN_MONT_CTX_set() 363 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) in BN_MONT_CTX_set() 388 if (!BN_div(&(mont->Ni), NULL, Ri, &mont->N, ctx)) in BN_MONT_CTX_set()
|
H A D | bn_recp.c | 186 if (!BN_div(r, NULL, t, m, ctx)) in BN_reciprocal()
|
H A D | bn_div.c | 17 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 202 * BN_div computes dv := num / divisor, rounding towards 209 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
|
H A D | bn_gcd.c | 61 * Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, in bn_mod_inverse_no_branch() 92 * Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, in bn_mod_inverse_no_branch() 101 if (!BN_div(D, M, &local_A, B, ctx)) in bn_mod_inverse_no_branch() 407 if (!BN_div(D, M, A, B, ctx)) in int_bn_mod_inverse()
|
/third_party/openssl/crypto/bn/ |
H A D | bn_mont.c | 333 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) in BN_MONT_CTX_set() 363 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) in BN_MONT_CTX_set() 388 if (!BN_div(&(mont->Ni), NULL, Ri, &mont->N, ctx)) in BN_MONT_CTX_set()
|
H A D | bn_recp.c | 186 if (!BN_div(r, NULL, t, m, ctx)) in BN_reciprocal()
|
H A D | bn_div.c | 17 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 202 * BN_div computes dv := num / divisor, rounding towards 209 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, in BN_div() function
|
H A D | bn_gcd.c | 61 * Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, in bn_mod_inverse_no_branch() 92 * Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked, in bn_mod_inverse_no_branch() 101 if (!BN_div(D, M, &local_A, B, ctx)) in bn_mod_inverse_no_branch() 407 if (!BN_div(D, M, A, B, ctx)) in int_bn_mod_inverse()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | bn.rs | 488 #[corresponds(BN_div)] 496 cvt(ffi::BN_div( in checked_div() 508 #[corresponds(BN_div)] 516 cvt(ffi::BN_div( in checked_rem() 528 #[corresponds(BN_div)] 537 cvt(ffi::BN_div( in div_rem()
|
/third_party/node/deps/openssl/openssl/fuzz/ |
H A D | bndiv.c | 83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput()
|
/third_party/openssl/fuzz/ |
H A D | bndiv.c | 83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput()
|
/third_party/openssl/test/ |
H A D | bntest.c | 337 if (TEST_true(BN_div(a, b, a, b, ctx)) in test_signed_mod_replace_ab() 360 if (TEST_true(BN_div(b, a, a, b, ctx)) in test_signed_mod_replace_ba() 392 && TEST_true(BN_div(d, e, a, b, ctx)) in test_mod() 1318 || !TEST_true(BN_div(ret, remainder, lshift1, two, ctx)) in file_lshift1() 1331 || !TEST_true(BN_div(ret, NULL /* rem */ , lshift1, two, ctx)) in file_lshift1() 1422 || !TEST_true(BN_div(ret, remainder, square, a, ctx)) in file_square() 1482 || !TEST_true(BN_div(ret, remainder, product, a, ctx)) in file_product() 1485 || !TEST_true(BN_div(ret, remainder, product, b, ctx)) in file_product() 1517 if (!TEST_true(BN_div(ret, ret2, a, b, ctx)) in file_quotient() 2209 /* Test that BN_div neve in test_negzero() [all...] |
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | bn.h | 58 * BN_div() will call BN_div_no_branch, 245 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 247 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_check.c | 199 if (!BN_div(t1, t2, dh->params.p, dh->params.q, ctx)) in DH_check()
|
/third_party/openssl/crypto/dh/ |
H A D | dh_check.c | 198 if (!BN_div(t1, t2, dh->params.p, dh->params.q, ctx)) in DH_check()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | bn.rs | 38 pub fn BN_div( in BN_div() functions
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | bn.h | 64 * BN_div() will call BN_div_no_branch, 269 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 271 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
|
/third_party/node/deps/openssl/openssl/crypto/ffc/ |
H A D | ffc_params_generate.c | 742 if (!(BN_sub(pm1, p, BN_value_one()) && BN_div(e, NULL, pm1, q, ctx))) in ossl_ffc_params_FIPS186_4_gen_verify() 989 if (!BN_div(r0, NULL, test, q, ctx)) in ossl_ffc_params_FIPS186_2_gen_verify()
|
/third_party/openssl/crypto/ffc/ |
H A D | ffc_params_generate.c | 742 if (!(BN_sub(pm1, p, BN_value_one()) && BN_div(e, NULL, pm1, q, ctx))) in ossl_ffc_params_FIPS186_4_gen_verify() 989 if (!BN_div(r0, NULL, test, q, ctx)) in ossl_ffc_params_FIPS186_2_gen_verify()
|
/third_party/openssl/include/openssl/ |
H A D | bn.h | 64 * BN_div() will call BN_div_no_branch, 269 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 271 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx))
|