Lines Matching defs:capi_rsa_method
398 static RSA_METHOD *capi_rsa_method = NULL;
428 if ( !RSA_meth_set_pub_enc(capi_rsa_method,
430 || !RSA_meth_set_pub_dec(capi_rsa_method,
432 || !RSA_meth_set_priv_enc(capi_rsa_method, capi_rsa_priv_enc)
433 || !RSA_meth_set_priv_dec(capi_rsa_method, capi_rsa_priv_dec)
434 || !RSA_meth_set_mod_exp(capi_rsa_method,
436 || !RSA_meth_set_bn_mod_exp(capi_rsa_method,
438 || !RSA_meth_set_finish(capi_rsa_method, capi_rsa_free)
439 || !RSA_meth_set_sign(capi_rsa_method, capi_rsa_sign)) {
500 RSA_meth_free(capi_rsa_method);
501 capi_rsa_method = NULL;
535 capi_rsa_method = RSA_meth_new("CryptoAPI RSA method", 0);
536 if (capi_rsa_method == NULL)
549 || !ENGINE_set_RSA(e, capi_rsa_method)
563 RSA_meth_free(capi_rsa_method);
564 capi_rsa_method = NULL;