/external/chromium_org/third_party/boringssl/src/ssl/ |
D | ssl_ciph.c | 171 const SSL_CIPHER *cipher; 178 static const SSL_CIPHER cipher_aliases[]={ 246 const SSL_CIPHER *c = s->cipher; in ssl_cipher_get_evp_aead() 281 const SSL_CIPHER *c; in ssl_cipher_get_evp() 341 const SSL_CIPHER *c; in ssl_cipher_get_mac() 427 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers() 486 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases() 491 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases() 530 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() 714 const SSL_CIPHER **ca_list) in ssl_cipher_process_rulestr() [all …]
|
D | ssl_locl.h | 641 extern const SSL_CIPHER ssl3_ciphers[]; 804 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER **ap, const SSL_CIPHER **bp); 805 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s, const CBS *cbs, 806 STACK_OF(SSL_CIPHER) **skp); 807 int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, unsigned char *p); 808 STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *meth, 810 STACK_OF(SSL_CIPHER) **sorted, 817 STACK_OF(SSL_CIPHER) *ciphers); 824 int ssl_cipher_get_cert_index(const SSL_CIPHER *c); 825 int ssl_cipher_has_server_public_key(const SSL_CIPHER *cipher); [all …]
|
D | ssl_lib.c | 256 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_ssl_version() 569 ssl_cipher_preference_list_from_ciphers(STACK_OF(SSL_CIPHER) *ciphers) in ssl_cipher_preference_list_from_ciphers() 1312 const SSL_CIPHER *a = in_a; in ssl_cipher_id_cmp() 1313 const SSL_CIPHER *b = in_b; in ssl_cipher_id_cmp() 1324 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER **ap, const SSL_CIPHER **bp) in ssl_cipher_ptr_id_cmp() 1339 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF() argument 1366 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF() argument 1386 const SSL_CIPHER *c; in SSL_get_cipher_list() 1387 STACK_OF(SSL_CIPHER) *sk; in SSL_get_cipher_list() 1401 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_cipher_list() [all …]
|
D | ssl_test.c | 195 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(list->ciphers, i); in print_cipher_preference_list() 225 const SSL_CIPHER *cipher = in test_cipher_rule()
|
D | s3_lib.c | 160 #define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER)) 168 const SSL_CIPHER ssl3_ciphers[]={ 953 const SSL_CIPHER *ssl3_get_cipher(unsigned int u) in ssl3_get_cipher() 1744 const SSL_CIPHER *ssl3_get_cipher_by_value(uint16_t value) in ssl3_get_cipher_by_value() 1746 SSL_CIPHER c; in ssl3_get_cipher_by_value() 1749 return bsearch(&c, ssl3_ciphers, SSL3_NUM_CIPHERS, sizeof(SSL_CIPHER), ssl_cipher_id_cmp); in ssl3_get_cipher_by_value() 1753 uint16_t ssl3_get_cipher_value(const SSL_CIPHER *c) in ssl3_get_cipher_value() 1778 const SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher() 1781 const SSL_CIPHER *c,*ret=NULL; in ssl3_choose_cipher() 1782 STACK_OF(SSL_CIPHER) *srvr = server_pref->ciphers, *prio, *allow; in ssl3_choose_cipher()
|
D | d1_lib.c | 313 const SSL_CIPHER *dtls1_get_cipher(unsigned int u) in dtls1_get_cipher() 315 const SSL_CIPHER *ciph = ssl3_get_cipher(u); in dtls1_get_cipher()
|
/external/openssl/ssl/ |
D | ssl_locl.h | 615 OPENSSL_EXTERN const SSL_CIPHER ssl2_ciphers[]; 616 OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[]; 834 int ssl_cipher_id_cmp(const SSL_CIPHER *a,const SSL_CIPHER *b); 835 DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(SSL_CIPHER, SSL_CIPHER, 837 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap, 838 const SSL_CIPHER * const *bp); 839 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s,unsigned char *p,int num, 840 STACK_OF(SSL_CIPHER) **skp); 841 int ssl_cipher_list_to_bytes(SSL *s,STACK_OF(SSL_CIPHER) *sk,unsigned char *p, 842 int (*put_cb)(const SSL_CIPHER *, unsigned char *)); [all …]
|
D | s23_lib.c | 77 const SSL_CIPHER *ssl23_get_cipher(unsigned int u) in ssl23_get_cipher() 93 const SSL_CIPHER *ssl23_get_cipher_by_char(const unsigned char *p) in ssl23_get_cipher_by_char() 95 const SSL_CIPHER *cp; in ssl23_get_cipher_by_char() 105 int ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) in ssl23_put_cipher_by_char()
|
D | s2_lib.c | 121 #define SSL2_NUM_CIPHERS (sizeof(ssl2_ciphers)/sizeof(SSL_CIPHER)) 124 OPENSSL_GLOBAL const SSL_CIPHER ssl2_ciphers[]={ 306 const SSL_CIPHER *ssl2_get_cipher(unsigned int u) in ssl2_get_cipher() 419 const SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p) in ssl2_get_cipher_by_char() 421 SSL_CIPHER c; in ssl2_get_cipher_by_char() 422 const SSL_CIPHER *cp; in ssl2_get_cipher_by_char() 435 int ssl2_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) in ssl2_put_cipher_by_char()
|
D | ssl_ciph.c | 220 const SSL_CIPHER *cipher; 226 static const SSL_CIPHER cipher_aliases[]={ 492 const SSL_CIPHER *c; in ssl_cipher_get_evp() 786 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers() 852 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases() 860 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases() 914 *ca_curr = (SSL_CIPHER *)(cipher_aliases + i); in ssl_cipher_collect_aliases() 930 const SSL_CIPHER *cp; in ssl_cipher_apply_rule() 1110 const SSL_CIPHER **ca_list) in ssl_cipher_process_rulestr() 1358 STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method, in STACK_OF() argument [all …]
|
D | ssl_lib.c | 260 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_ssl_version() 1248 int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b) in ssl_cipher_id_cmp() 1259 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap, in ssl_cipher_ptr_id_cmp() 1260 const SSL_CIPHER * const *bp) in ssl_cipher_ptr_id_cmp() 1273 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF() argument 1292 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF() argument 1312 SSL_CIPHER *c; in SSL_get_cipher_list() 1313 STACK_OF(SSL_CIPHER) *sk; in SSL_get_cipher_list() 1327 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_cipher_list() 1351 STACK_OF(SSL_CIPHER) *sk; in SSL_set_cipher_list() [all …]
|
D | ssl.h | 368 typedef struct ssl_cipher_st SSL_CIPHER; typedef 371 DECLARE_STACK_OF(SSL_CIPHER) 383 …et_cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **… 432 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); 433 int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr); 436 const SSL_CIPHER *(*get_cipher)(unsigned ncipher); 520 const SSL_CIPHER *cipher; 525 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */ 812 STACK_OF(SSL_CIPHER) *cipher_list; 814 STACK_OF(SSL_CIPHER) *cipher_list_by_id; [all …]
|
D | s3_lib.c | 167 #define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER)) 170 OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={ 2959 const SSL_CIPHER *ssl3_get_cipher(unsigned int u) in ssl3_get_cipher() 3855 const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p) in ssl3_get_cipher_by_char() 3857 SSL_CIPHER c; in ssl3_get_cipher_by_char() 3858 const SSL_CIPHER *cp; in ssl3_get_cipher_by_char() 3873 int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) in ssl3_put_cipher_by_char() 3887 SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher() 3888 STACK_OF(SSL_CIPHER) *srvr) in ssl3_choose_cipher() 3890 SSL_CIPHER *c,*ret=NULL; in ssl3_choose_cipher() [all …]
|
D | d1_lib.c | 294 const SSL_CIPHER *dtls1_get_cipher(unsigned int u) in dtls1_get_cipher() 296 const SSL_CIPHER *ciph = ssl3_get_cipher(u); in dtls1_get_cipher()
|
D | s2_srvr.c | 369 const SSL_CIPHER *cp; in get_client_master_key() 526 STACK_OF(SSL_CIPHER) *cs; /* a stack of SSL_CIPHERS */ in get_client_hello() 527 STACK_OF(SSL_CIPHER) *cl; /* the ones we want to use */ in get_client_hello() 528 STACK_OF(SSL_CIPHER) *prio, *allow; in get_client_hello()
|
D | s23_clnt.c | 261 SSL_CIPHER *cipher; in ssl23_no_ssl2_ciphers() 262 STACK_OF(SSL_CIPHER) *ciphers; in ssl23_no_ssl2_ciphers()
|
/external/openssl/patches/ |
D | 0003-jsse.patch | 14 char * SSL_CIPHER_get_version(const SSL_CIPHER *c); 15 const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); 16 unsigned long SSL_CIPHER_get_id(const SSL_CIPHER *c); 17 +const char * SSL_CIPHER_authentication_method(const SSL_CIPHER* cipher); 33 +int SSL_set_cipher_lists(SSL *s, STACK_OF(SSL_CIPHER) *sk); 193 @@ -1652,6 +1652,52 @@ int SSL_CIPHER_get_bits(const SSL_CIPHER 198 +const char* SSL_CIPHER_authentication_method(const SSL_CIPHER* cipher) 271 +int SSL_set_cipher_lists(SSL *s,STACK_OF(SSL_CIPHER) *sk) 273 + STACK_OF(SSL_CIPHER) *tmp_cipher_list;
|
D | 0016-ecdhe_psk_part2.patch | 19 @@ -2828,35 +2828,34 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
|
/external/openssl/include/openssl/ |
D | ssl.h | 368 typedef struct ssl_cipher_st SSL_CIPHER; typedef 371 DECLARE_STACK_OF(SSL_CIPHER) 383 …et_cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **… 432 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); 433 int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr); 436 const SSL_CIPHER *(*get_cipher)(unsigned ncipher); 520 const SSL_CIPHER *cipher; 525 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */ 812 STACK_OF(SSL_CIPHER) *cipher_list; 814 STACK_OF(SSL_CIPHER) *cipher_list_by_id; [all …]
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
D | ssl.h | 285 typedef struct ssl_cipher_st SSL_CIPHER; typedef 290 DECLARE_STACK_OF(SSL_CIPHER) 302 …cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, const SSL_CIPHER… 354 const SSL_CIPHER *(*get_cipher)(unsigned ncipher); 432 const SSL_CIPHER *cipher; 437 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */ 785 STACK_OF(SSL_CIPHER) *ciphers; 795 STACK_OF(SSL_CIPHER) *cipher_list_by_id; 1303 STACK_OF(SSL_CIPHER) *cipher_list_by_id; 1917 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); [all …]
|
D | stack_macros.h | 3473 ((STACK_OF(SSL_CIPHER) *)sk_new(CHECKED_CAST( \ 3475 int (*)(const const SSL_CIPHER **a, const const SSL_CIPHER **b), comp))) 3477 #define sk_SSL_CIPHER_new_null() ((STACK_OF(SSL_CIPHER) *)sk_new_null()) 3480 sk_num(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk)) 3483 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk)); 3486 ((const SSL_CIPHER *)sk_value( \ 3487 CHECKED_CAST(_STACK *, const STACK_OF(SSL_CIPHER) *, sk), (i))) 3490 ((const SSL_CIPHER *)sk_set( \ 3491 CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk), (i), \ 3492 CHECKED_CAST(void *, const SSL_CIPHER *, p))) [all …]
|
D | ssl3.h | 433 const SSL_CIPHER *new_cipher;
|
/external/openssl/apps/ |
D | ciphers.c | 95 STACK_OF(SSL_CIPHER) *sk; in MAIN() 187 SSL_CIPHER *c; in MAIN()
|
/external/chromium_org/third_party/boringssl/src/tool/ |
D | client.cc | 120 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl); in PrintConnectionInfo()
|
/external/chromium_org/net/socket/ |
D | ssl_client_socket_openssl.cc | 79 unsigned long SSL_CIPHER_get_id(const SSL_CIPHER* cipher) { return cipher->id; } in SSL_CIPHER_get_id() 605 const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_); in GetSSLInfo() 761 STACK_OF(SSL_CIPHER)* ciphers = SSL_get_ciphers(ssl_); in Init() 772 const SSL_CIPHER* cipher = sk_SSL_CIPHER_value(ciphers, i); in Init()
|