Lines Matching refs:pkeys
1830 if (s->cert->pkeys[real_idx].privatekey != NULL) { in tls1_get_legacy_sigalg()
1845 if (s->cert->pkeys[real_idx].privatekey != NULL) { in tls1_get_legacy_sigalg()
1852 idx = s->cert->key - s->cert->pkeys; in tls1_get_legacy_sigalg()
3290 idx = (int)(cpk - c->pkeys); in tls1_check_chain()
3292 cpk = c->pkeys + idx; in tls1_check_chain()
3810 return check_cert_usable(s, sig, s->cert->pkeys[idx].x509, in has_usable_cert()
3811 s->cert->pkeys[idx].privatekey); in has_usable_cert()
3865 : s->cert->pkeys[lu->sig_idx].privatekey; in find_sig_alg()
3918 if (!s->server && !ssl_has_cert(s, s->cert->key - s->cert->pkeys)) in tls_choose_sigalg()
3929 curve = ssl_get_EC_curve_nid(s->cert->pkeys[SSL_PKEY_ECC] in tls_choose_sigalg()
3943 int cc_idx = s->cert->key - s->cert->pkeys; in tls_choose_sigalg()
3954 EVP_PKEY *pkey = s->cert->pkeys[sig_idx].privatekey; in tls_choose_sigalg()
4032 s->s3.tmp.cert = &s->cert->pkeys[sig_idx]; in tls_choose_sigalg()