Searched refs:rsa_method (Results 1 – 1 of 1) sorted by relevance
68 RSA_METHOD rsa_method; member320 memcpy(&k11->rsa_method, def, sizeof(k11->rsa_method)); in pkcs11_rsa_wrap()321 k11->rsa_method.name = "pkcs11"; in pkcs11_rsa_wrap()322 k11->rsa_method.rsa_priv_enc = pkcs11_rsa_private_encrypt; in pkcs11_rsa_wrap()323 k11->rsa_method.rsa_priv_dec = pkcs11_rsa_private_decrypt; in pkcs11_rsa_wrap()324 k11->rsa_method.finish = pkcs11_rsa_finish; in pkcs11_rsa_wrap()325 RSA_set_method(rsa, &k11->rsa_method); in pkcs11_rsa_wrap()