Lines Matching refs:rsa_meth
66 RSA_METHOD *rsa_meth; member
99 if (helpers[i] != NULL && helpers[i]->rsa_meth == meth) in helper_by_rsa()
133 helper->rsa_meth == NULL) in helper_free()
154 RSA_meth_free(helper->rsa_meth); in helper_free()
422 if (RSA_set_method(rsa, helper->rsa_meth) != 1) in wrap_key()
484 if (RSA_set_method(rsa_cert, helper->rsa_meth) != 1) in pkcs11_make_cert()
529 RSA_METHOD *rsa_meth = NULL; in pkcs11_start_helper_methods() local
550 if ((rsa_meth = RSA_meth_dup(RSA_get_default_method())) == NULL) in pkcs11_start_helper_methods()
552 helper->rsa_finish = RSA_meth_get_finish(rsa_meth); in pkcs11_start_helper_methods()
553 if (!RSA_meth_set1_name(rsa_meth, "ssh-pkcs11-helper") || in pkcs11_start_helper_methods()
554 !RSA_meth_set_priv_enc(rsa_meth, rsa_encrypt) || in pkcs11_start_helper_methods()
555 !RSA_meth_set_finish(rsa_meth, rsa_finish)) in pkcs11_start_helper_methods()
559 helper->rsa_meth = rsa_meth; in pkcs11_start_helper_methods()
588 RSA_meth_free(helper->rsa_meth); in pkcs11_start_helper()