| /freebsd/crypto/openssl/ssl/ |
| H A D | ssl_ciph.c | 151 const SSL_CIPHER *cipher; 157 static const SSL_CIPHER cipher_aliases[] = { 436 int ssl_cipher_get_evp_cipher(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_cipher() 466 int ssl_cipher_get_evp_md_mac(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_md_mac() 499 const SSL_CIPHER *c; in ssl_cipher_get_evp() 649 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers() 703 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases() 712 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases() 758 *ca_curr = (SSL_CIPHER *)(cipher_aliases + i); in ssl_cipher_collect_aliases() 773 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() [all …]
|
| H A D | ssl_local.h | 431 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); 432 int (*put_cipher_by_char)(const SSL_CIPHER *cipher, WPACKET *pkt, 436 const SSL_CIPHER *(*get_cipher)(unsigned ncipher); 523 const SSL_CIPHER *cipher; 797 STACK_OF(SSL_CIPHER) *cipher_list; 799 STACK_OF(SSL_CIPHER) *cipher_list_by_id; 801 STACK_OF(SSL_CIPHER) *tls13_ciphersuites; 1357 const SSL_CIPHER *new_cipher; 1495 STACK_OF(SSL_CIPHER) *peer_ciphers; 1496 STACK_OF(SSL_CIPHER) *cipher_list; [all …]
|
| H A D | s3_lib.c | 39 static SSL_CIPHER tls13_ciphers[] = { 180 static SSL_CIPHER ssl3_ciphers[] = { 3679 static SSL_CIPHER ssl3_scsvs[] = { 3720 const SSL_CIPHER *ap = (const SSL_CIPHER *)a; in cipher_compare() 3721 const SSL_CIPHER *bp = (const SSL_CIPHER *)b; in cipher_compare() 3780 const SSL_CIPHER *ssl3_get_cipher(unsigned int u) in ssl3_get_cipher() 4121 const SSL_CIPHER *cipher; in ssl3_ctrl() 4645 const SSL_CIPHER *ssl3_get_cipher_by_id(uint32_t id) in ssl3_get_cipher_by_id() 4647 SSL_CIPHER c; in ssl3_get_cipher_by_id() 4648 const SSL_CIPHER *cp; in ssl3_get_cipher_by_id() [all …]
|
| H A D | ssl_lib.c | 664 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_ssl_version() 3223 int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b) in ssl_cipher_id_cmp() 3232 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER *const *ap, in ssl_cipher_ptr_id_cmp() 3233 const SSL_CIPHER *const *bp) in ssl_cipher_ptr_id_cmp() 3246 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF() argument 3260 STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s) in STACK_OF() argument 3269 STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s) in STACK_OF() argument 3271 STACK_OF(SSL_CIPHER) *sk = NULL, *ciphers; in STACK_OF() 3284 const SSL_CIPHER *c = sk_SSL_CIPHER_value(ciphers, i); in STACK_OF() 3301 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL_CONNECTION *s) in STACK_OF() argument [all …]
|
| H A D | tls13_enc.c | 521 const SSL_CIPHER *sslcipher = SSL_SESSION_get0_cipher(s->session); in tls13_change_cipher_state() 900 const SSL_CIPHER *sslcipher; in tls13_export_keying_material_early()
|
| /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 *c); [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
|
| H A D | SSL_set_session_secret_cb.pod | 13 STACK_OF(SSL_CIPHER) *peer_ciphers, 14 const SSL_CIPHER **cipher, void *arg);
|
| /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() 103 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() 162 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(sk_ciphers, i); in setup_cipher_list() 188 STACK_OF(SSL_CIPHER) *ciphers; in test_ssl_corrupt() 189 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 | 385 const SSL_CIPHER *c; in test_cipher_name() 386 STACK_OF(SSL_CIPHER) *sk = NULL; in test_cipher_name()
|
| H A D | dtls_mtu_test.c | 151 STACK_OF(SSL_CIPHER) *ciphers; in run_mtu_tests() 171 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in run_mtu_tests()
|
| H A D | tls13secretstest.c | 161 int ssl_cipher_get_evp_cipher(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_cipher() 167 int ssl_cipher_get_evp_md_mac(SSL_CTX *ctx, const SSL_CIPHER *sslc, in ssl_cipher_get_evp_md_mac()
|
| H A D | cipherlist_test.c | 149 STACK_OF(SSL_CIPHER) *ciphers = NULL; in test_default_cipherlist()
|
| H A D | quicapitest.c | 290 const STACK_OF(SSL_CIPHER) *ciphers = NULL; in test_ciphersuites() 291 const SSL_CIPHER *cipher; in test_ciphersuites() 623 static int ensure_valid_ciphers(const STACK_OF(SSL_CIPHER) *ciphers) in ensure_valid_ciphers() 629 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in ensure_valid_ciphers() 698 STACK_OF(SSL_CIPHER) *ciphers = NULL; in test_quic_forbidden_apis()
|
| /freebsd/crypto/openssl/include/openssl/ |
| H A D | ssl.h | 236 typedef struct ssl_cipher_st SSL_CIPHER; typedef 241 STACK_OF(SSL_CIPHER); 281 STACK_OF(SSL_CIPHER) *peer_ciphers, 282 const SSL_CIPHER **cipher, void *arg); 1001 SKM_DEFINE_STACK_OF_INTERNAL(SSL_CIPHER, const SSL_CIPHER, SSL_CIPHER) 1003 #define sk_SSL_CIPHER_value(sk, idx) ((const SSL_CIPHER *)OPENSSL_sk_value(ossl_check_const_SSL_CIP… 1004 #define sk_SSL_CIPHER_new(cmp) ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new(ossl_check_SSL_CIPHER_compfu… 1005 #define sk_SSL_CIPHER_new_null() ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new_null()) 1006 #define sk_SSL_CIPHER_new_reserve(cmp, n) ((STACK_OF(SSL_CIPHER) *)OPENSSL_sk_new_reserve(ossl_chec… 1010 #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 | 237 typedef struct ssl_cipher_st SSL_CIPHER; typedef 242 STACK_OF(SSL_CIPHER); 258 STACK_OF(SSL_CIPHER) *peer_ciphers, 259 const SSL_CIPHER **cipher, void *arg); 979 generate_const_stack_macros("SSL_CIPHER"); 1595 __owur const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); 1596 __owur const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s); 1597 __owur int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits); 1598 __owur const char *SSL_CIPHER_get_version(const SSL_CIPHER *c); 1599 __owur const char *SSL_CIPHER_get_name(const SSL_CIPHER *c); [all …]
|
| /freebsd/crypto/openssl/apps/ |
| H A D | ciphers.c | 95 STACK_OF(SSL_CIPHER) *sk = NULL; in ciphers_main() 231 const SSL_CIPHER *c = sk_SSL_CIPHER_value(sk, i); in ciphers_main() 247 const SSL_CIPHER *c; in ciphers_main()
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_ssl.h | 69 __owur const SSL_CIPHER *ossl_quic_get_cipher_by_char(const unsigned char *p); 71 __owur const SSL_CIPHER *ossl_quic_get_cipher(unsigned int u);
|
| /freebsd/crypto/openssl/doc/man7/ |
| H A D | ossl-guide-libssl-introduction.pod | 82 =item B<SSL_CIPHER> (SSL Cipher) 87 ciphersuite. Such a set is represented by an B<SSL_CIPHER> object.
|
| /freebsd/crypto/openssl/ssl/statem/ |
| H A D | statem_clnt.c | 40 static int ssl_cipher_list_to_bytes(SSL_CONNECTION *s, STACK_OF(SSL_CIPHER) *sk, 1391 STACK_OF(SSL_CIPHER) *sk; in set_client_ciphersuite() 1392 const SSL_CIPHER *c; in set_client_ciphersuite() 1631 const SSL_CIPHER *pref_cipher = NULL; in tls_process_server_hello() 4110 int ssl_cipher_list_to_bytes(SSL_CONNECTION *s, STACK_OF(SSL_CIPHER) *sk, in ssl_cipher_list_to_bytes() 4154 const SSL_CIPHER *c; in ssl_cipher_list_to_bytes() 4191 static const SSL_CIPHER scsv = { in ssl_cipher_list_to_bytes() 4200 static const SSL_CIPHER scsv = { in ssl_cipher_list_to_bytes()
|
| H A D | statem_srvr.c | 1726 const SSL_CIPHER *c; in tls_early_post_process_client_hello() 1727 STACK_OF(SSL_CIPHER) *ciphers = NULL; in tls_early_post_process_client_hello() 1728 STACK_OF(SSL_CIPHER) *scsvs = NULL; in tls_early_post_process_client_hello() 1855 const SSL_CIPHER *cipher = ssl3_choose_cipher(s, ciphers, SSL_get_ciphers(ssl)); in tls_early_post_process_client_hello() 2011 const SSL_CIPHER *pref_cipher = NULL; in tls_early_post_process_client_hello() 2311 const SSL_CIPHER *cipher; in tls_post_process_client_hello()
|