Searched refs:pkeys (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/lib/libssl/
H A Dssl_cert.c172 ret->key = &(ret->pkeys[SSL_PKEY_RSA]);
193 * same as ret->key = ret->pkeys + (cert->key - cert->pkeys),
196 ret->key = &ret->pkeys[cert->key - &cert->pkeys[0]];
213 if (cert->pkeys[i].x509 != NULL) {
214 ret->pkeys[i].x509 = cert->pkeys[i].x509;
215 X509_up_ref(ret->pkeys[i].x509);
218 if (cert->pkeys[
[all...]
H A Dssl_rsa.c193 if (c->pkeys[i].x509 != NULL) {
196 if ((pktmp = X509_get0_pubkey(c->pkeys[i].x509)) == NULL)
214 if (!X509_check_private_key(c->pkeys[i].x509, pkey)) {
215 X509_free(c->pkeys[i].x509);
216 c->pkeys[i].x509 = NULL;
222 EVP_PKEY_free(c->pkeys[i].privatekey);
224 c->pkeys[i].privatekey = pkey;
225 c->key = &(c->pkeys[i]);
414 if (c->pkeys[i].privatekey != NULL) {
415 EVP_PKEY *priv_key = c->pkeys[
[all...]
H A Dtls13_server.c608 cpk = &s->cert->pkeys[SSL_PKEY_ECC];
614 cpk = &s->cert->pkeys[SSL_PKEY_RSA];
H A Dtls13_client.c837 cpk = &s->cert->pkeys[SSL_PKEY_ECC];
843 cpk = &s->cert->pkeys[SSL_PKEY_RSA];
H A Dssl_lib.c2289 cpk = &(c->pkeys[SSL_PKEY_ECC]);
2296 cpk = &(c->pkeys[SSL_PKEY_RSA]);
2361 return (c->pkeys + i);
2380 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
2387 pkey = c->pkeys[idx].privatekey;
H A Dt1_lib.c710 SSL_CERT_PKEY *cpk = s->cert->pkeys + SSL_PKEY_ECC;
H A Dssl_local.h327 /* ALWAYS points to an element of the pkeys array
332 SSL_CERT_PKEY pkeys[SSL_PKEY_NUM]; member in struct:ssl_cert_st
H A Dssl_srvr.c1648 pkey = s->cert->pkeys[SSL_PKEY_RSA].privatekey;
/openbsd-current/usr.sbin/smtpd/
H A Dca.c40 static struct dict pkeys; variable in typeref:struct:dict
107 dict_init(&pkeys);
122 if (dict_check(&pkeys, hash))
125 dict_xset(&pkeys, hash, pkey);
226 pkey = dict_get(&pkeys, hash);
262 pkey = dict_get(&pkeys, hash);

Completed in 268 milliseconds