Lines Matching refs:unblind
264 static int rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, in rsa_blinding_convert() argument
267 if (unblind == NULL) { in rsa_blinding_convert()
281 ret = BN_BLINDING_convert_ex(f, unblind, b, ctx); in rsa_blinding_convert()
288 static int rsa_blinding_invert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, in rsa_blinding_invert() argument
300 return BN_BLINDING_invert_ex(f, unblind, b, ctx); in rsa_blinding_invert()
317 BIGNUM *unblind = NULL; in rsa_ossl_private_encrypt() local
370 if (!local_blinding && ((unblind = BN_CTX_get(ctx)) == NULL)) { in rsa_ossl_private_encrypt()
374 if (!rsa_blinding_convert(blinding, f, unblind, ctx)) in rsa_ossl_private_encrypt()
408 if (!rsa_blinding_invert(blinding, ret, unblind, ctx)) in rsa_ossl_private_encrypt()
533 BIGNUM *unblind = NULL; in rsa_ossl_private_decrypt() local
617 if (!local_blinding && ((unblind = BN_CTX_get(ctx)) == NULL)) { in rsa_ossl_private_decrypt()
621 if (!rsa_blinding_convert(blinding, f, unblind, ctx)) in rsa_ossl_private_decrypt()
655 if (!rsa_blinding_invert(blinding, ret, unblind, ctx)) in rsa_ossl_private_decrypt()