Home
last modified time | relevance | path

Searched refs:ssl_pkey_num (Results 1 – 7 of 7) sorted by relevance

/openssl/ssl/
H A Dssl_cert.c63 CERT *ssl_cert_new(size_t ssl_pkey_num) in ssl_cert_new() argument
68 if (!ossl_assert(ssl_pkey_num >= SSL_PKEY_NUM)) in ssl_cert_new()
75 ret->ssl_pkey_num = ssl_pkey_num; in ssl_cert_new()
76 ret->pkeys = OPENSSL_zalloc(ret->ssl_pkey_num * sizeof(CERT_PKEY)); in ssl_cert_new()
106 ret->ssl_pkey_num = cert->ssl_pkey_num; in ssl_cert_dup()
128 for (i = 0; i < ret->ssl_pkey_num; i++) { in ssl_cert_dup()
244 for (i = 0; i < c->ssl_pkey_num; i++) { in ssl_cert_clear_certs()
364 for (i = 0; i < c->ssl_pkey_num; i++) { in ssl_cert_select_current()
372 for (i = 0; i < c->ssl_pkey_num; i++) { in ssl_cert_select_current()
392 if (idx >= c->ssl_pkey_num) in ssl_cert_set_current()
[all …]
H A Dssl_local.h1270 size_t ssl_pkey_num; member
2060 size_t ssl_pkey_num; member
2461 if (idx < 0 || idx >= (int)s->ssl_pkey_num) in ssl_has_cert()
2494 __owur CERT *ssl_cert_new(size_t ssl_pkey_num);
H A Dt1_lib.c1810 for (i = 0; i < s->ssl_pkey_num; i++) { in tls1_get_legacy_sigalg()
2265 memset(s->s3.tmp.valid_flags, 0, s->ssl_pkey_num * sizeof(uint32_t)); in tls1_set_server_sigalgs()
2267 s->s3.tmp.valid_flags = OPENSSL_zalloc(s->ssl_pkey_num * sizeof(uint32_t)); in tls1_set_server_sigalgs()
2279 for (i = 0; i < s->ssl_pkey_num; i++) { in tls1_set_server_sigalgs()
2908 for (i = 0; i < s->ssl_pkey_num; i++) in tls1_process_sigalgs()
H A Ds3_lib.c4334 for (j = 0; j < s->ssl_pkey_num && !ssl_has_cert(s, j); j++); in ssl3_choose_cipher()
4335 if (j == s->ssl_pkey_num) { in ssl3_choose_cipher()
H A Dssl_lib.c922 s->ssl_pkey_num = SSL_PKEY_NUM + ctx->sigalg_list_len; in ossl_ssl_connection_new_int()
/openssl/ssl/statem/
H A Dstatem_clnt.c2565 memset(s->s3.tmp.valid_flags, 0, s->ssl_pkey_num * sizeof(uint32_t)); in tls_process_certificate_request()
2567 s->s3.tmp.valid_flags = OPENSSL_zalloc(s->ssl_pkey_num * sizeof(uint32_t)); in tls_process_certificate_request()
H A Dstatem_lib.c1929 for (i = 0; i < s->ssl_pkey_num; i++) { in is_tls13_capable()

Completed in 105 milliseconds