Home
last modified time | relevance | path

Searched refs:sk_SSL_CIPHER_num (Results 1 – 16 of 16) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dcipherbytes_test.c55 || !TEST_int_eq(sk_SSL_CIPHER_num(sk), 1) in test_unsupported()
57 || !TEST_int_eq(sk_SSL_CIPHER_num(scsv), 0) in test_unsupported()
81 || !TEST_int_eq(sk_SSL_CIPHER_num(sk), 2) in test_v2()
83 || !TEST_int_eq(sk_SSL_CIPHER_num(scsv), 0)) in test_v2()
110 || !TEST_int_eq(sk_SSL_CIPHER_num(sk), 3) in test_v3()
112 || !TEST_int_eq(sk_SSL_CIPHER_num(scsv), 2) in test_v3()
H A Dsslcorrupttest.c157 cipher_list = OPENSSL_malloc(sk_SSL_CIPHER_num(sk_ciphers) * in setup_cipher_list()
162 for (j = 0, i = 0; i < sk_SSL_CIPHER_num(sk_ciphers); i++) { in setup_cipher_list()
207 || !TEST_int_eq(sk_SSL_CIPHER_num(ciphers), 1) in test_ssl_corrupt()
H A Dciphername_test.c431 for (i = 0; i < sk_SSL_CIPHER_num(sk); i++) { in test_cipher_name()
H A Dcipherlist_test.c163 num_ciphers = sk_SSL_CIPHER_num(ciphers); in test_default_cipherlist()
H A Ddtls_mtu_test.c166 for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) { in run_mtu_tests()
/freebsd/crypto/openssl/apps/
H A Dciphers.c228 for (i = 0; i < sk_SSL_CIPHER_num(sk); i++) { in ciphers_main()
244 for (i = 0; i < sk_SSL_CIPHER_num(sk); i++) { in ciphers_main()
H A Ds_server.c3249 j = sk_SSL_CIPHER_num(sk); in www_body()
/freebsd/crypto/openssl/ssl/
H A Dssl_ciph.c1342 || sk_SSL_CIPHER_num(newciphers) == 0)) { in set_ciphersuites()
1386 while (sk_SSL_CIPHER_num(tmp_cipher_list) > 0 in update_cipher_list()
1392 for (i = sk_SSL_CIPHER_num(tls13_ciphersuites) - 1; i >= 0; i--) { in update_cipher_list()
1639 for (i = 0; i < sk_SSL_CIPHER_num(tls13_ciphersuites); i++) { in STACK_OF()
H A Ds3_lib.c4154 sk_SSL_CIPHER_num(srvr), (void *)srvr); in ssl3_choose_cipher()
4155 for (i = 0; i < sk_SSL_CIPHER_num(srvr); ++i) { in ssl3_choose_cipher()
4160 sk_SSL_CIPHER_num(clnt), (void *)clnt); in ssl3_choose_cipher()
4161 for (i = 0; i < sk_SSL_CIPHER_num(clnt); ++i) { in ssl3_choose_cipher()
4178 if (s->options & SSL_OP_PRIORITIZE_CHACHA && sk_SSL_CIPHER_num(clnt) > 0) { in ssl3_choose_cipher()
4182 int num = sk_SSL_CIPHER_num(srvr); in ssl3_choose_cipher()
4242 for (i = 0; i < sk_SSL_CIPHER_num(prio); i++) { in ssl3_choose_cipher()
H A Dssl_lib.c679 if ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= 0)) { in SSL_CTX_set_ssl_version()
2685 for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) { in STACK_OF()
2724 if ((sk == NULL) || (sk_SSL_CIPHER_num(sk) <= n)) in SSL_get_cipher_list()
2752 for (i = 0; i < sk_SSL_CIPHER_num(sk); ++i) { in cipher_list_tls12_num()
2821 if (sk_SSL_CIPHER_num(clntsk) == 0 || sk_SSL_CIPHER_num(srvrsk) == 0) in SSL_get_shared_ciphers()
2824 for (i = 0; i < sk_SSL_CIPHER_num(clntsk); i++) { in SSL_get_shared_ciphers()
3325 || sk_SSL_CIPHER_num(ret->cipher_list) <= 0) { in SSL_CTX_new_ex()
H A Dt1_lib.c2117 num = sk != NULL ? sk_SSL_CIPHER_num(sk) : 0; in tls12_sigalg_allowed()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_srvr.c1710 for(i = 0; i < sk_SSL_CIPHER_num(scsvs); i++) { in tls_early_post_process_client_hello()
1822 sk_SSL_CIPHER_num(ciphers)); in tls_early_post_process_client_hello()
1824 for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) { in tls_early_post_process_client_hello()
1828 sk_SSL_CIPHER_num(ciphers), SSL_CIPHER_get_name(c)); in tls_early_post_process_client_hello()
H A Dstatem_lib.c156 for (i = 0; i < sk_SSL_CIPHER_num(ciphers); i++) { in tls_setup_handshake()
H A Dextensions_clnt.c124 end = sk_SSL_CIPHER_num(cipher_stack); in use_ecc()
H A Dstatem_clnt.c3711 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) { in ssl_cipher_list_to_bytes()
/freebsd/crypto/openssl/include/openssl/
H A Dssl.h978 #define sk_SSL_CIPHER_num(sk) OPENSSL_sk_num(ossl_check_const_SSL_CIPHER_sk_type(sk)) macro