/freebsd/crypto/openssl/ssl/ |
H A D | ssl_ciph.c | 159 const SSL_CIPHER *cipher; 165 static const SSL_CIPHER cipher_aliases[] = { 482 int ssl_cipher_get_evp_cipher(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_cipher() 517 const SSL_CIPHER *c; in ssl_cipher_get_evp() 688 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers() 747 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases() 756 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases() 802 *ca_curr = (SSL_CIPHER *)(cipher_aliases + i); in ssl_cipher_collect_aliases() 817 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() 998 const SSL_CIPHER **ca_list, CERT *c) in ssl_cipher_process_rulestr() [all …]
|
H A D | ssl_local.h | 509 const SSL_CIPHER *(*get_cipher_by_char) (const unsigned char *ptr); 510 int (*put_cipher_by_char) (const SSL_CIPHER *cipher, WPACKET *pkt, 514 const SSL_CIPHER *(*get_cipher) (unsigned ncipher); 601 const SSL_CIPHER *cipher; 845 STACK_OF(SSL_CIPHER) *cipher_list; 847 STACK_OF(SSL_CIPHER) *cipher_list_by_id; 849 STACK_OF(SSL_CIPHER) *tls13_ciphersuites; 1315 const SSL_CIPHER *new_cipher; 1448 STACK_OF(SSL_CIPHER) *peer_ciphers; 1449 STACK_OF(SSL_CIPHER) *cipher_list; [all …]
|
H A D | s3_lib.c | 37 static SSL_CIPHER tls13_ciphers[] = { 128 static SSL_CIPHER ssl3_ciphers[] = { 3222 static SSL_CIPHER ssl3_scsvs[] = { 3241 const SSL_CIPHER *ap = (const SSL_CIPHER *)a; in cipher_compare() 3242 const SSL_CIPHER *bp = (const SSL_CIPHER *)b; in cipher_compare() 3303 const SSL_CIPHER *ssl3_get_cipher(unsigned int u) in ssl3_get_cipher() 3585 const SSL_CIPHER *cipher; in ssl3_ctrl() 4066 const SSL_CIPHER *ssl3_get_cipher_by_id(uint32_t id) in ssl3_get_cipher_by_id() 4068 SSL_CIPHER c; in ssl3_get_cipher_by_id() 4069 const SSL_CIPHER *cp; in ssl3_get_cipher_by_id() [all …]
|
H A D | ssl_lib.c | 666 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_ssl_version() 2635 int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b) in ssl_cipher_id_cmp() 2644 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER *const *ap, in ssl_cipher_ptr_id_cmp() 2645 const SSL_CIPHER *const *bp) in ssl_cipher_ptr_id_cmp() 2656 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF() argument 2668 STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s) in STACK_OF() argument 2675 STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s) in STACK_OF() argument 2677 STACK_OF(SSL_CIPHER) *sk = NULL, *ciphers; in STACK_OF() 2686 const SSL_CIPHER *c = sk_SSL_CIPHER_value(ciphers, i); in STACK_OF() 2703 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF() argument [all …]
|
H A D | tls13_enc.c | 483 const SSL_CIPHER *sslcipher = SSL_SESSION_get0_cipher(s->session); in tls13_change_cipher_state() 888 const SSL_CIPHER *sslcipher; in tls13_export_keying_material_early()
|
H A D | ssl_sess.c | 1002 const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s) in SSL_SESSION_get0_cipher() 1007 int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher) in SSL_SESSION_set_cipher()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_CIPHER_get_name.pod | 20 - get SSL_CIPHER properties 26 const char *SSL_CIPHER_get_name(const SSL_CIPHER *cipher); 27 const char *SSL_CIPHER_standard_name(const SSL_CIPHER *cipher); 29 int SSL_CIPHER_get_bits(const SSL_CIPHER *cipher, int *alg_bits); 30 const char *SSL_CIPHER_get_version(const SSL_CIPHER *cipher); 31 char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int size); 32 int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c); 33 int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); 34 const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c); 35 int SSL_CIPHER_get_kx_nid(const SSL_CIPHER * [all...] |
H A D | SSL_get_ciphers.pod | 18 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl); 19 STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx); 20 STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s); 21 STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *ssl); 23 int isv2format, STACK_OF(SSL_CIPHER) **sk, 24 STACK_OF(SSL_CIPHER) **scsvs); 57 into the returned stacks of SSL_CIPHER objects sk and Signalling Cipher-Suite 61 SSL_get_cipher_list() returns a pointer to the name of the SSL_CIPHER 67 SSL_CIPHER names that are available in both the client and the server. B<buf> is
|
H A D | SSL_get_current_cipher.pod | 7 SSL_get_pending_cipher - get SSL_CIPHER of a connection 13 const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl); 14 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl); 23 SSL_get_current_cipher() returns a pointer to an SSL_CIPHER object containing 35 SSL_get_pending_cipher() returns a pointer to an SSL_CIPHER object containing
|
H A D | SSL_SESSION_get0_cipher.pod | 13 const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s); 14 int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher); 30 SSL_SESSION_get0_cipher() returns the SSL_CIPHER associated with the SSL_SESSION
|
/freebsd/crypto/openssl/test/ |
H A D | cipherbytes_test.c | 29 STACK_OF(SSL_CIPHER) *sk = NULL, *scsv = NULL; in test_empty() 47 STACK_OF(SSL_CIPHER) *sk, *scsv; in test_unsupported() 71 STACK_OF(SSL_CIPHER) *sk, *scsv; in test_v2() 101 STACK_OF(SSL_CIPHER) *sk = NULL, *scsv = NULL; in test_v3()
|
H A D | sslcorrupttest.c | 144 STACK_OF(SSL_CIPHER) *sk_ciphers = NULL; in setup_cipher_list() 163 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(sk_ciphers, i); in setup_cipher_list() 189 STACK_OF(SSL_CIPHER) *ciphers; in test_ssl_corrupt() 190 const SSL_CIPHER *currcipher; in test_ssl_corrupt()
|
H A D | cipher_overhead_test.c | 14 static int cipher_enabled(const SSL_CIPHER *ciph) in cipher_enabled() 36 const SSL_CIPHER *ciph; in cipher_overhead()
|
H A D | ciphername_test.c | 383 const SSL_CIPHER *c; in test_cipher_name() 384 STACK_OF(SSL_CIPHER) *sk = NULL; in test_cipher_name()
|
H A D | dtls_mtu_test.c | 147 STACK_OF(SSL_CIPHER) *ciphers; in run_mtu_tests() 167 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in run_mtu_tests()
|
H A D | cipherlist_test.c | 150 STACK_OF(SSL_CIPHER) *ciphers = NULL; in test_default_cipherlist()
|
H A D | tls13secretstest.c | 168 int ssl_cipher_get_evp_cipher(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_cipher()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ssl.h | 230 typedef struct ssl_cipher_st SSL_CIPHER; typedef 236 STACK_OF(SSL_CIPHER); 276 STACK_OF(SSL_CIPHER) *peer_ciphers, 277 const SSL_CIPHER **cipher, void *arg); 977 SKM_DEFINE_STACK_OF_INTERNAL(SSL_CIPHER, const SSL_CIPHER, SSL_CIPHER) 979 #define sk_SSL_CIPHER_value(sk, idx) ((const SSL_CIPHER *)OPENSSL_sk_value(ossl_check_const_SSL_CIP… 980 #define sk_SSL_CIPHER_new(cmp) ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new(ossl_check_SSL_CIPHER_compfu… 981 #define sk_SSL_CIPHER_new_null() ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new_null()) 982 #define sk_SSL_CIPHER_new_reserve(cmp, n) ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new_reserve(ossl_chec… 986 #define sk_SSL_CIPHER_delete(sk, i) ((const SSL_CIPHER *)OPENSSL_sk_delete(ossl_check_SSL_CIPHER_sk… [all …]
|
H A D | ssl.h.in | 231 typedef struct ssl_cipher_st SSL_CIPHER; typedef 237 STACK_OF(SSL_CIPHER); 253 STACK_OF(SSL_CIPHER) *peer_ciphers, 254 const SSL_CIPHER **cipher, void *arg); 955 generate_const_stack_macros("SSL_CIPHER") 1546 __owur const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); 1547 __owur const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s); 1548 __owur int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits); 1549 __owur const char *SSL_CIPHER_get_version(const SSL_CIPHER *c); 1550 __owur const char *SSL_CIPHER_get_name(const SSL_CIPHER *c); [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | ciphers.c | 92 STACK_OF(SSL_CIPHER) *sk = NULL; in ciphers_main() 229 const SSL_CIPHER *c = sk_SSL_CIPHER_value(sk, i); in ciphers_main() 245 const SSL_CIPHER *c; in ciphers_main()
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | ssl.pod | 50 =item B<SSL_CIPHER> (SSL Cipher) 66 connection: B<SSL_CIPHER>s, client and server certificates, keys, etc.
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | statem_clnt.c | 36 static int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, 1306 STACK_OF(SSL_CIPHER) *sk; in set_client_ciphersuite() 1307 const SSL_CIPHER *c; in set_client_ciphersuite() 1533 const SSL_CIPHER *pref_cipher = NULL; in tls_process_server_hello() 3673 int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, WPACKET *pkt) in ssl_cipher_list_to_bytes() 3712 const SSL_CIPHER *c; in ssl_cipher_list_to_bytes() 3753 static SSL_CIPHER scsv = { in ssl_cipher_list_to_bytes() 3762 static SSL_CIPHER scsv = { in ssl_cipher_list_to_bytes()
|
H A D | statem_srvr.c | 1597 const SSL_CIPHER *c; in tls_early_post_process_client_hello() 1598 STACK_OF(SSL_CIPHER) *ciphers = NULL; in tls_early_post_process_client_hello() 1599 STACK_OF(SSL_CIPHER) *scsvs = NULL; in tls_early_post_process_client_hello() 1738 const SSL_CIPHER *cipher = in tls_early_post_process_client_hello() 1888 const SSL_CIPHER *pref_cipher = NULL; in tls_early_post_process_client_hello() 2186 const SSL_CIPHER *cipher; in tls_post_process_client_hello()
|
H A D | extensions_clnt.c | 115 STACK_OF(SSL_CIPHER) *cipher_stack = NULL; in use_ecc() 126 const SSL_CIPHER *c = sk_SSL_CIPHER_value(cipher_stack, i); in use_ecc() 778 const SSL_CIPHER *cipher; in tls_construct_ctos_early_data()
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | s_cb.c | 1143 const SSL_CIPHER *c = SSL_CIPHER_find(s, rlist); in print_raw_cipherlist() 1236 const SSL_CIPHER *c; in print_ssl_summary()
|