Home
last modified time | relevance | path

Searched refs:BN_MONT_CTX_set_locked (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/rsa/
Drsa_impl.c156 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == NULL) { in rsa_default_encrypt()
480 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == NULL) { in rsa_default_verify_raw()
582 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == in rsa_default_private_transform()
649 if (BN_MONT_CTX_set_locked(&rsa->mont_p, &rsa->lock, p, ctx) == NULL) { in mod_exp()
652 if (BN_MONT_CTX_set_locked(&rsa->mont_q, &rsa->lock, q, ctx) == NULL) { in mod_exp()
659 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == NULL) { in mod_exp()
749 !BN_MONT_CTX_set_locked(&ap->mont, &rsa->lock, prime, ctx)) { in mod_exp()
Dblinding.c439 mont_ctx = BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx); in rsa_setup_blinding()
/external/boringssl/src/crypto/dh/
Ddh.c272 mont = BN_MONT_CTX_set_locked(&dh->method_mont_p, &dh->method_mont_p_lock, in DH_generate_key()
347 mont = BN_MONT_CTX_set_locked(&dh->method_mont_p, &dh->method_mont_p_lock, in DH_compute_key()
/external/boringssl/src/crypto/dsa/
Ddsa.c653 mont = BN_MONT_CTX_set_locked((BN_MONT_CTX **)&dsa->method_mont_p, in DSA_do_check_signature()
800 if (BN_MONT_CTX_set_locked((BN_MONT_CTX **)&dsa->method_mont_p, in DSA_sign_setup()
/external/boringssl/src/crypto/bn/
Dmontgomery.c292 BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock, in BN_MONT_CTX_set_locked() function
/external/boringssl/src/include/openssl/
Dbn.h755 BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock,