Home | History | Annotate | Download | only in crypto

Lines Matching refs:rsa_meth

383 	RSA_METHOD *rsa_meth;
391 rsa_meth = os_zalloc(sizeof(*rsa_meth));
392 if (priv == NULL || rsa_meth == NULL) {
396 os_free(rsa_meth);
429 rsa_meth->name = "Microsoft CryptoAPI RSA Method";
430 rsa_meth->rsa_pub_enc = cryptoapi_rsa_pub_enc;
431 rsa_meth->rsa_pub_dec = cryptoapi_rsa_pub_dec;
432 rsa_meth->rsa_priv_enc = cryptoapi_rsa_priv_enc;
433 rsa_meth->rsa_priv_dec = cryptoapi_rsa_priv_dec;
434 rsa_meth->finish = cryptoapi_finish;
435 rsa_meth->flags = RSA_METHOD_FLAG_NO_CHECK;
436 rsa_meth->app_data = (char *) priv;
456 if (!RSA_set_method(rsa, rsa_meth))
471 os_free(rsa_meth);