Lines Matching refs:key_method
138 hs->config->cert->key_method != nullptr || in ssl_has_private_key()
204 const SSL_PRIVATE_KEY_METHOD *key_method = hs->config->cert->key_method; in ssl_private_key_sign() local
207 key_method = hs->config->cert->dc_key_method; in ssl_private_key_sign()
211 if (key_method != NULL) { in ssl_private_key_sign()
214 ret = key_method->complete(ssl, out, out_len, max_out); in ssl_private_key_sign()
216 ret = key_method->sign(ssl, out, out_len, max_out, in ssl_private_key_sign()
250 if (hs->config->cert->key_method != NULL) { in ssl_private_key_decrypt()
253 ret = hs->config->cert->key_method->complete(ssl, out, out_len, max_out); in ssl_private_key_decrypt()
255 ret = hs->config->cert->key_method->decrypt(ssl, out, out_len, max_out, in ssl_private_key_decrypt()
413 const SSL_PRIVATE_KEY_METHOD *key_method) { in SSL_set_private_key_method() argument
417 ssl->config->cert->key_method = key_method; in SSL_set_private_key_method()
421 const SSL_PRIVATE_KEY_METHOD *key_method) { in SSL_CTX_set_private_key_method() argument
422 ctx->cert->key_method = key_method; in SSL_CTX_set_private_key_method()