Searched refs:new_method (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/crypto/heimdal/lib/hx509/
H A Dks_p11.c220 RSA_METHOD *new_method; local
225 new_method = RSA_meth_new("hx509 PKCS11 PKCS#1 RSA", 0);
226 if (new_method == NULL)
229 if (RSA_meth_set_pub_enc(new_method, p11_rsa_public_encrypt) != 1)
232 if (RSA_meth_set_pub_dec(new_method, p11_rsa_public_decrypt) != 1)
235 if (RSA_meth_set_priv_enc(new_method, p11_rsa_private_encrypt) != 1)
238 if (RSA_meth_set_priv_dec(new_method, p11_rsa_private_decrypt) != 1)
241 if (RSA_meth_set_init(new_method, p11_rsa_init) != 1)
244 if (RSA_meth_set_finish(new_method, p11_rsa_finish) != 1)
251 p11_rsa_pkcs1_method = new_method;
[all...]

Completed in 111 milliseconds