| /openbsd/src/lib/libssl/ |
| D | ssl_ciphers.c | 26 ssl_cipher_in_list(STACK_OF(SSL_CIPHER) *ciphers, const SSL_CIPHER *cipher) in ssl_cipher_in_list() 39 ssl_cipher_allowed_in_tls_version_range(const SSL_CIPHER *cipher, uint16_t min_ver, in ssl_cipher_allowed_in_tls_version_range() 54 ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *ciphers, CBB *cbb) in ssl_cipher_list_to_bytes() 56 SSL_CIPHER *cipher; in ssl_cipher_list_to_bytes() 93 STACK_OF(SSL_CIPHER) * in STACK_OF() argument 96 STACK_OF(SSL_CIPHER) *ciphers = NULL; in STACK_OF() 97 const SSL_CIPHER *cipher; in STACK_OF() 203 ssl_parse_ciphersuites(STACK_OF(SSL_CIPHER) **out_ciphers, const char *str) in ssl_parse_ciphersuites() 206 STACK_OF(SSL_CIPHER) *ciphers; in ssl_parse_ciphersuites() 207 const SSL_CIPHER *cipher; in ssl_parse_ciphersuites() [all …]
|
| D | ssl_ciph.c | 158 const SSL_CIPHER *cipher; 164 static const SSL_CIPHER cipher_aliases[] = { 403 const SSL_CIPHER *cipher; in ssl_cipher_get_evp() 483 const SSL_CIPHER *cipher; in ssl_cipher_get_evp_aead() 511 const SSL_CIPHER *cipher; in ssl_get_handshake_evp_md() 579 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers() 640 ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, int num_of_group_aliases, in ssl_cipher_collect_aliases() 646 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases() 698 *ca_curr = (SSL_CIPHER *)(cipher_aliases + i); in ssl_cipher_collect_aliases() 712 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() [all …]
|
| D | ssl_local.h | 558 const SSL_CIPHER *cipher; 561 STACK_OF(SSL_CIPHER) *client_ciphers; 665 STACK_OF(SSL_CIPHER) *cipher_list; 798 STACK_OF(SSL_CIPHER) *cipher_list_tls13; 883 STACK_OF(SSL_CIPHER) *cipher_list; 1015 STACK_OF(SSL_CIPHER) *cipher_list_tls13; 1189 extern const SSL_CIPHER ssl3_ciphers[]; 1205 int ssl_cipher_in_list(STACK_OF(SSL_CIPHER) *ciphers, const SSL_CIPHER *cipher); 1206 int ssl_cipher_allowed_in_tls_version_range(const SSL_CIPHER *cipher, 1232 int ssl_security_cipher_check(const SSL *ssl, SSL_CIPHER *cipher); [all …]
|
| D | ssl.h | 347 typedef struct ssl_cipher_st SSL_CIPHER; typedef 354 DECLARE_STACK_OF(SSL_CIPHER) 367 STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **cipher, void *arg); 1092 STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx); 1112 const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); 1113 int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits); 1114 const char * SSL_CIPHER_get_version(const SSL_CIPHER *c); 1115 const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); 1116 unsigned long SSL_CIPHER_get_id(const SSL_CIPHER *c); 1117 uint16_t SSL_CIPHER_get_value(const SSL_CIPHER *c); [all …]
|
| D | ssl_seclevel.c | 98 const SSL_CIPHER *cipher = arg; in ssl_security_secop_cipher() 261 ssl_security_cipher(const SSL *ssl, SSL_CIPHER *cipher, int secop) in ssl_security_cipher() 267 ssl_security_cipher_check(const SSL *ssl, SSL_CIPHER *cipher) in ssl_security_cipher_check() 273 ssl_security_shared_cipher(const SSL *ssl, SSL_CIPHER *cipher) in ssl_security_shared_cipher() 279 ssl_security_supported_cipher(const SSL *ssl, SSL_CIPHER *cipher) in ssl_security_supported_cipher()
|
| D | ssl_lib.c | 221 STACK_OF(SSL_CIPHER) *ciphers; in SSL_CTX_set_ssl_version() 1514 STACK_OF(SSL_CIPHER) * in STACK_OF() argument 1526 STACK_OF(SSL_CIPHER) * in STACK_OF() argument 1535 STACK_OF(SSL_CIPHER) * in STACK_OF() argument 1538 STACK_OF(SSL_CIPHER) *supported_ciphers = NULL, *ciphers; in STACK_OF() 1539 SSL_CIPHER *cipher; in STACK_OF() 1577 STACK_OF(SSL_CIPHER) *ciphers; in ssl_has_ecc_ciphers() 1579 SSL_CIPHER *cipher; in ssl_has_ecc_ciphers() 1602 STACK_OF(SSL_CIPHER) *ciphers; in SSL_get_cipher_list() 1603 const SSL_CIPHER *cipher; in SSL_get_cipher_list() [all …]
|
| D | s3_lib.c | 169 #define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)) 172 const SSL_CIPHER ssl3_ciphers[] = { 1129 const SSL_CIPHER * 1142 uint16_t b = ((const SSL_CIPHER *)cipher)->value; in ssl3_cipher_value_cmp() 1147 const SSL_CIPHER * 2288 SSL_CIPHER * 2289 ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher() 2290 STACK_OF(SSL_CIPHER) *srvr) in ssl3_choose_cipher() 2293 STACK_OF(SSL_CIPHER) *prio, *allow; in ssl3_choose_cipher() 2294 SSL_CIPHER *c, *ret = NULL; in ssl3_choose_cipher()
|
| D | ssl_txt.c | 111 const SSL_CIPHER *cipher; in SSL_SESSION_print()
|
| D | dtls_local.h | 215 const SSL_CIPHER *dtls1_get_cipher(unsigned int u);
|
| D | tls13_internal.h | 314 const EVP_AEAD *tls13_cipher_aead(const SSL_CIPHER *cipher); 315 const EVP_MD *tls13_cipher_hash(const SSL_CIPHER *cipher);
|
| D | tls13_lib.c | 76 tls13_cipher_aead(const SSL_CIPHER *cipher) in tls13_cipher_aead() 96 tls13_cipher_hash(const SSL_CIPHER *cipher) in tls13_cipher_hash()
|
| D | ssl_sess.c | 984 const SSL_CIPHER * 1059 void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, in SSL_set_session_secret_cb() 1060 SSL_CIPHER **cipher, void *arg), void *arg) in SSL_set_session_secret_cb()
|
| D | tls13_server.c | 148 STACK_OF(SSL_CIPHER) *ciphers = NULL; in tls13_client_hello_process() 149 const SSL_CIPHER *cipher; in tls13_client_hello_process()
|
| D | ssl_srvr.c | 784 SSL_CIPHER *c; in ssl3_get_client_hello() 785 STACK_OF(SSL_CIPHER) *ciphers = NULL; in ssl3_get_client_hello() 1061 SSL_CIPHER *pref_cipher = NULL; in ssl3_get_client_hello()
|
| D | tls13_client.c | 215 const SSL_CIPHER *cipher; in tls13_server_hello_process()
|
| /openbsd/src/regress/lib/libssl/unit/ |
| D | cipher_list.c | 71 ssl_bytes_to_list_alloc(SSL *s, STACK_OF(SSL_CIPHER) **ciphers) in ssl_bytes_to_list_alloc() 73 SSL_CIPHER *cipher; in ssl_bytes_to_list_alloc() 94 ssl_list_to_bytes_scsv(SSL *s, STACK_OF(SSL_CIPHER) **ciphers, in ssl_list_to_bytes_scsv() 127 ssl_list_to_bytes_no_scsv(SSL *s, STACK_OF(SSL_CIPHER) **ciphers, in ssl_list_to_bytes_no_scsv() 161 ssl_bytes_to_list_invalid(SSL *s, STACK_OF(SSL_CIPHER) **ciphers) in ssl_bytes_to_list_invalid() 184 STACK_OF(SSL_CIPHER) *ciphers = NULL; in main()
|
| D | tls_prf.c | 110 const SSL_CIPHER *cipher; in do_tls_prf_test()
|
| /openbsd/src/usr.bin/openssl/ |
| D | ciphers.c | 93 STACK_OF(SSL_CIPHER) *ciphers; in ciphers_main() 94 STACK_OF(SSL_CIPHER) *supported_ciphers = NULL; in ciphers_main() 95 const SSL_CIPHER *cipher; in ciphers_main()
|
| D | s_server.c | 1901 const SSL_CIPHER *c; in www_body() 1980 STACK_OF(SSL_CIPHER) *sk; in www_body()
|
| /openbsd/src/regress/lib/libssl/ciphers/ |
| D | cipherstest.c | 26 const SSL_CIPHER *ssl3_get_cipher_by_index(int idx); 28 int ssl_parse_ciphersuites(STACK_OF(SSL_CIPHER) **out_ciphers, const char *str); 40 const SSL_CIPHER *cipher; in check_cipher_order() 722 STACK_OF(SSL_CIPHER) *ciphers; in test_ssl_ciphers() 723 const SSL_CIPHER *cipher; in test_ssl_ciphers() 934 STACK_OF(SSL_CIPHER) *ciphers = NULL; in parse_ciphersuites_test() 935 SSL_CIPHER *cipher; in parse_ciphersuites_test() 1122 STACK_OF(SSL_CIPHER) *ciphers = NULL; in cipher_set_test() 1123 SSL_CIPHER *cipher; in cipher_set_test()
|
| /openbsd/src/regress/lib/libssl/interop/ |
| D | util.c | 73 print_ciphers(STACK_OF(SSL_CIPHER) *cstack) in print_ciphers() 75 const SSL_CIPHER *cipher; in print_ciphers()
|
| D | util.h | 19 void print_ciphers(STACK_OF(SSL_CIPHER) *);
|
| D | client.c | 187 STACK_OF(SSL_CIPHER) *supported_ciphers; in main()
|
| D | server.c | 226 STACK_OF(SSL_CIPHER) *supported_ciphers; in main()
|
| /openbsd/src/lib/libcrypto/stack/ |
| D | safestack.h | 1174 #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp)) 1175 #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER) 1176 #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st)) 1177 #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st)) 1178 #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i)) 1179 #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val)) 1180 #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st)) 1181 #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val)) 1182 #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val)) 1183 #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val)) [all …]
|