Lines Matching defs:pk
3676 int tls12_get_sigandhash(unsigned char *p, const EVP_PKEY *pk,
3686 sig_id = tls12_get_sigid(pk);
3694 int tls12_get_sigid(const EVP_PKEY *pk)
3696 return tls12_find_id(pk->type, tls12_sig,
4333 int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain,
4351 pk = cpk->privatekey;
4355 if (!x || !pk)
4367 if (!x || !pk)
4369 idx = ssl_cert_type(x, pk);
4489 switch (pk->type) {
4502 int cert_type = X509_certificate_type(x, pk);
4594 int SSL_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain)
4596 return tls1_check_chain(s, x, pk, chain, -1);