Home
last modified time | relevance | path

Searched refs:BN_mod_inverse (Results 1 – 20 of 20) sorted by relevance

/freebsd/crypto/openssl/doc/man3/
H A DBN_mod_inverse.pod5 BN_mod_inverse - compute inverse modulo n
11 BIGNUM *BN_mod_inverse(BIGNUM *r, BIGNUM *a, const BIGNUM *n,
16 BN_mod_inverse() computes the inverse of B<a> modulo B<n>
29 BN_mod_inverse() returns the B<BIGNUM> containing the inverse, and
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_gen.c221 if (BN_mod_inverse(r1, r2, rsa->e, ctx) != NULL) { in rsa_multiprime_keygen()
348 if (!BN_mod_inverse(rsa->d, rsa->e, pr0, ctx)) { in rsa_multiprime_keygen()
393 if (!BN_mod_inverse(rsa->iqmp, rsa->q, p, ctx)) { in rsa_multiprime_keygen()
402 if (!BN_mod_inverse(pinfo->t, pinfo->pp, p, ctx)) { in rsa_multiprime_keygen()
H A Drsa_x931g.c117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ in RSA_X931_derive_ex()
136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); in RSA_X931_derive_ex()
H A Drsa_chk.c190 if (!BN_mod_inverse(i, key->q, key->p, ctx)) { in rsa_validate_keypair_multiprime()
216 if (!BN_mod_inverse(i, pinfo->pp, pinfo->r, ctx)) { in rsa_validate_keypair_multiprime()
H A Drsa_sp800_56b_gen.c269 if (BN_mod_inverse(rsa->d, e, lcm, ctx) == NULL) in ossl_rsa_sp800_56b_derive_params_from_pq()
308 if (BN_mod_inverse(rsa->iqmp, rsa->q, rsa->p, ctx) == NULL) in ossl_rsa_sp800_56b_derive_params_from_pq()
H A Drsa_crpt.c110 ret = BN_mod_inverse(NULL, d, r0, ctx); in rsa_get_public_exp()
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_x931p.c93 if (!BN_mod_inverse(p, p2, p1, ctx)) in BN_X931_derive_prime_ex()
99 if (!BN_mod_inverse(t, p1, p2, ctx)) in BN_X931_derive_prime_ex()
H A Dbn_rsa_fips186_4.c294 && BN_mod_inverse(R, r2, r1x2, ctx) in ossl_bn_rsa_fips186_4_derive_prime()
296 && BN_mod_inverse(tmp, r1x2, r2, ctx) in ossl_bn_rsa_fips186_4_derive_prime()
H A Dbn_mont.c316 else if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL) in BN_MONT_CTX_set()
351 else if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL) in BN_MONT_CTX_set()
379 if ((BN_mod_inverse(Ri, R, &mont->N, ctx)) == NULL) in BN_MONT_CTX_set()
H A Dbn_gcd.c515 BIGNUM *BN_mod_inverse(BIGNUM *in, in BN_mod_inverse() function
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c168 if (BN_mod_inverse(blind, blind, dsa->params.q, ctx) == NULL) in ossl_dsa_do_sign_int()
383 if ((BN_mod_inverse(u2, s, dsa->params.q, ctx)) == NULL) in dsa_do_verify()
/freebsd/contrib/ntp/util/
H A Dntp-keygen.c1386 BN_mod_inverse(v, u, n, ctx); /* u^-1 mod n */ in gen_gqkey()
1783 BN_mod_inverse(b1, b, q, ctx); in gen_mvkey()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h347 BIGNUM *BN_mod_inverse(BIGNUM *ret,
/freebsd/crypto/openssl/test/
H A Dbntest.c2952 if (!TEST_ptr_eq(BN_mod_inverse(r, a, b, ctx), r)) in test_mod_inverse()
2960 if (!TEST_ptr_null(BN_mod_inverse(b, a, b, ctx))) in test_mod_inverse()
/freebsd/crypto/openssl/doc/
H A Dbuild.info730 DEPEND[html/man3/BN_mod_inverse.html]=man3/BN_mod_inverse.pod
731 GENERATE[html/man3/BN_mod_inverse.html]=man3/BN_mod_inverse.pod
732 DEPEND[man/man3/BN_mod_inverse.3]=man3/BN_mod_inverse.pod
733 GENERATE[man/man3/BN_mod_inverse.3]=man3/BN_mod_inverse.pod
2968 html/man3/BN_mod_inverse.html \
3576 man/man3/BN_mod_inverse.3 \
/freebsd/crypto/openssl/crypto/ec/
H A Decp_smpl.c1407 if (!BN_mod_inverse(r, r, group->field, ctx)) { in ossl_ec_GFp_simple_field_inv()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c1499 res = BN_mod_inverse((BIGNUM *) c, (const BIGNUM *) a, in crypto_bignum_inverse()
/freebsd/secure/lib/libcrypto/
H A DVersion.map531 BN_mod_inverse;
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile66 MAN+= BN_mod_inverse.3
/freebsd/crypto/openssl/util/
H A Dlibcrypto.num3737 BN_mod_inverse 3822 3_0_0 EXIST::FUNCTION: