Searched refs:rsa_method (Results 1 – 1 of 1) sorted by relevance
191 static RSA_METHOD *rsa_method; variable466 if (rsa_method != NULL) in pkcs11_rsa_start_wrapper()468 rsa_method = RSA_meth_dup(RSA_get_default_method()); in pkcs11_rsa_start_wrapper()469 if (rsa_method == NULL) in pkcs11_rsa_start_wrapper()475 if (!RSA_meth_set1_name(rsa_method, "pkcs11") || in pkcs11_rsa_start_wrapper()476 !RSA_meth_set_priv_enc(rsa_method, pkcs11_rsa_private_encrypt) || in pkcs11_rsa_start_wrapper()477 !RSA_meth_set_priv_dec(rsa_method, pkcs11_rsa_private_decrypt)) { in pkcs11_rsa_start_wrapper()505 if (RSA_set_method(rsa, rsa_method) != 1) in pkcs11_rsa_wrap()