Searched refs:new_method (Results 1 – 1 of 1) sorted by relevance
220 RSA_METHOD *new_method; in get_p11_rsa_pkcs1_method() local225 new_method = RSA_meth_new("hx509 PKCS11 PKCS#1 RSA", 0); in get_p11_rsa_pkcs1_method()226 if (new_method == NULL) in get_p11_rsa_pkcs1_method()229 if (RSA_meth_set_pub_enc(new_method, p11_rsa_public_encrypt) != 1) in get_p11_rsa_pkcs1_method()232 if (RSA_meth_set_pub_dec(new_method, p11_rsa_public_decrypt) != 1) in get_p11_rsa_pkcs1_method()235 if (RSA_meth_set_priv_enc(new_method, p11_rsa_private_encrypt) != 1) in get_p11_rsa_pkcs1_method()238 if (RSA_meth_set_priv_dec(new_method, p11_rsa_private_decrypt) != 1) in get_p11_rsa_pkcs1_method()241 if (RSA_meth_set_init(new_method, p11_rsa_init) != 1) in get_p11_rsa_pkcs1_method()244 if (RSA_meth_set_finish(new_method, p11_rsa_finish) != 1) in get_p11_rsa_pkcs1_method()251 p11_rsa_pkcs1_method = new_method; in get_p11_rsa_pkcs1_method()[all …]