Home
last modified time | relevance | path

Searched refs:BN_mod (Results 1 – 11 of 11) sorted by relevance

/external/vboot_reference/host/lib/
Dutil_misc.c100 BN_mod(RR, RRTemp, N, bn_ctx); in vb_keyb_from_rsa()
107 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ in vb_keyb_from_rsa()
118 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */ in vb_keyb_from_rsa()
/external/vboot_reference/utility/
DdumpRSAPublicKey.c94 BN_mod(RR, RRTemp, N, bn_ctx); in output()
101 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ in output()
113 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */ in output()
/external/openssh/
Drsa.c176 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || in rsa_generate_additional_parameters()
178 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0)) { in rsa_generate_additional_parameters()
/external/boringssl/src/crypto/dsa/
Ddsa.c359 !BN_mod(c, X, r0, ctx) || in DSA_generate_parameters_ex()
751 if (!BN_mod(&u1, &t1, dsa->q, ctx)) { in DSA_do_check_signature()
894 !BN_mod(r, r, dsa->q, ctx) || in dsa_sign_setup()
/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.c1044 if (!BN_mod(t1, rnd, add, ctx)) { in probable_prime_dh()
1103 if (!BN_mod(t1, q, qadd, ctx)) { in probable_prime_dh_safe()
Ddiv.c404 if (!(BN_mod(r, m, d, ctx))) { in BN_nnmod()
670 return BN_mod(r, r, m, ctx); in BN_mod_sqr()
Dmontgomery.c230 BN_mod(&mont->RR, &mont->RR, &mont->N, ctx) && in BN_MONT_CTX_set()
Dbn_test.cc1737 BN_mod(expected.get(), random.get(), power_of_two.get(), ctx())); in TEST_F()
/external/u-boot/lib/rsa/
Drsa-sign.c604 !BN_mod(r_squared, tmp, n, bn_ctx)) in rsa_get_params()
669 BN_mod(tmp, num, big2_32, ctx); /* n = N mod B */ in fdt_add_bignum()
/external/boringssl/src/include/openssl/
Dbn.h527 #define BN_mod(rem, numerator, divisor, ctx) \ macro
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1348 res = BN_mod((BIGNUM *) c, (const BIGNUM *) a, (const BIGNUM *) b, in crypto_bignum_mod()