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