/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_mod.c | 13 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() function 38 return BN_nnmod(r, r, m, ctx); in BN_mod_add() 120 return BN_nnmod(r, r, m, ctx); in BN_mod_sub() 227 if (!BN_nnmod(r, t, m, ctx)) in BN_mod_mul() 240 /* r->neg == 0, thus we don't need BN_nnmod */ in BN_mod_sqr() 249 return BN_nnmod(r, r, m, ctx); in BN_mod_lshift1() 272 if (!BN_nnmod(r, a, m, ctx)) in BN_mod_lshift()
|
H A D | bn_gcd.c | 68 if (!BN_nnmod(B, &local_B, A, ctx)) in bn_mod_inverse_no_branch() 173 if (!BN_nnmod(R, Y, n, ctx)) in bn_mod_inverse_no_branch() 248 if (!BN_nnmod(B, B, A, ctx)) in int_bn_mod_inverse() 498 if (!BN_nnmod(R, Y, n, ctx)) in int_bn_mod_inverse()
|
H A D | bn_sqrt.c | 78 if (!BN_nnmod(A, a, p, ctx)) in BN_mod_sqrt() 259 if (!BN_nnmod(t, A, p, ctx)) in BN_mod_sqrt()
|
H A D | bn_kron.c | 126 err = !BN_nnmod(B, B, A, ctx); in BN_kronecker()
|
H A D | bn_nist.c | 373 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_192() 510 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_224() 682 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_256() 919 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_384() 1171 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_521()
|
H A D | bn_exp.c | 219 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_recp() 372 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_mont() 676 || !BN_nnmod(reduced, a, m, ctx)) { in BN_mod_exp_mont_consttime() 1182 * We can use BN_mod and do not need BN_nnmod because our accumulator is in BN_mod_exp_mont_word() 1351 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_simple()
|
/third_party/openssl/crypto/bn/ |
H A D | bn_mod.c | 13 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() function 33 return BN_nnmod(r, r, m, ctx); in BN_mod_add() 115 return BN_nnmod(r, r, m, ctx); in BN_mod_sub() 217 if (!BN_nnmod(r, t, m, ctx)) in BN_mod_mul() 230 /* r->neg == 0, thus we don't need BN_nnmod */ in BN_mod_sqr() 239 return BN_nnmod(r, r, m, ctx); in BN_mod_lshift1() 262 if (!BN_nnmod(r, a, m, ctx)) in BN_mod_lshift()
|
H A D | bn_gcd.c | 68 if (!BN_nnmod(B, &local_B, A, ctx)) in bn_mod_inverse_no_branch() 173 if (!BN_nnmod(R, Y, n, ctx)) in bn_mod_inverse_no_branch() 248 if (!BN_nnmod(B, B, A, ctx)) in int_bn_mod_inverse() 498 if (!BN_nnmod(R, Y, n, ctx)) in int_bn_mod_inverse()
|
H A D | bn_sqrt.c | 78 if (!BN_nnmod(A, a, p, ctx)) in BN_mod_sqrt() 259 if (!BN_nnmod(t, A, p, ctx)) in BN_mod_sqrt()
|
H A D | bn_kron.c | 126 err = !BN_nnmod(B, B, A, ctx); in BN_kronecker()
|
H A D | bn_nist.c | 351 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_192() 488 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_224() 660 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_256() 897 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_384() 1149 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_521()
|
H A D | bn_exp.c | 219 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_recp() 364 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_mont() 668 || !BN_nnmod(reduced, a, m, ctx)) { in BN_mod_exp_mont_consttime() 1174 * We can use BN_mod and do not need BN_nnmod because our accumulator is in BN_mod_exp_mont_word() 1338 if (!BN_nnmod(val[0], a, m, ctx)) in BN_mod_exp_simple()
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecdsa_ossl.c | 167 if (!BN_nnmod(r, X, order, ctx)) { in ecdsa_sign_setup() 470 if (!BN_nnmod(u1, X, order, ctx)) { in ossl_ecdsa_simple_verify_sig()
|
H A D | ecp_smpl.c | 172 if (!BN_nnmod(tmp_a, a, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 181 if (!BN_nnmod(group->b, b, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 392 if (!BN_nnmod(point->X, x, group->field, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() 401 if (!BN_nnmod(point->Y, y, group->field, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() 412 if (!BN_nnmod(point->Z, z, group->field, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp()
|
H A D | ecp_oct.c | 54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
|
H A D | ecp_nistz256.c | 656 if (!BN_nnmod(mod, scalar[i], group->order, ctx)) { in ecp_nistz256_windowed_mul() 1034 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul() 1337 || !BN_nnmod(tmp, x, group->order, ctx)) { in ecp_nistz256_inv_mod_ord()
|
/third_party/openssl/crypto/ec/ |
H A D | ecdsa_ossl.c | 172 if (!BN_nnmod(r, X, order, ctx)) { in ecdsa_sign_setup() 475 if (!BN_nnmod(u1, X, order, ctx)) { in ossl_ecdsa_simple_verify_sig()
|
H A D | ecp_smpl.c | 172 if (!BN_nnmod(tmp_a, a, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 181 if (!BN_nnmod(group->b, b, p, ctx)) in ossl_ec_GFp_simple_group_set_curve() 392 if (!BN_nnmod(point->X, x, group->field, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() 401 if (!BN_nnmod(point->Y, y, group->field, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() 412 if (!BN_nnmod(point->Z, z, group->field, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp()
|
H A D | ecp_oct.c | 54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
|
H A D | ecp_nistz256.c | 656 if (!BN_nnmod(mod, scalar[i], group->order, ctx)) { in ecp_nistz256_windowed_mul() 1034 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul() 1337 || !BN_nnmod(tmp, x, group->order, ctx)) { in ecp_nistz256_inv_mod_ord()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | bn.rs | 45 pub fn BN_nnmod( in BN_nnmod() functions
|
/third_party/node/deps/openssl/openssl/crypto/srp/ |
H A D | srp_lib.c | 278 if (!BN_nnmod(r, B, N, bn_ctx)) in SRP_Verify_B_mod_N()
|
/third_party/openssl/crypto/srp/ |
H A D | srp_lib.c | 278 if (!BN_nnmod(r, B, N, bn_ctx)) in SRP_Verify_B_mod_N()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | bn.rs | 556 #[corresponds(BN_nnmod)] 564 cvt(ffi::BN_nnmod( in nnmod()
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | bn.h | 248 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
|