Home
last modified time | relevance | path

Searched refs:SSL_CIPHER (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/third_party/boringssl/src/ssl/
Dssl_ciph.c171 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 …]
Dssl_locl.h641 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 …]
Dssl_lib.c256 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 …]
Dssl_test.c195 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()
Ds3_lib.c160 #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()
Dd1_lib.c313 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/
Dssl_locl.h615 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 …]
Ds23_lib.c77 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()
Ds2_lib.c121 #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()
Dssl_ciph.c220 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 …]
Dssl_lib.c260 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 …]
Dssl.h368 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 …]
Ds3_lib.c167 #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 …]
Dd1_lib.c294 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()
Ds2_srvr.c369 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()
Ds23_clnt.c261 SSL_CIPHER *cipher; in ssl23_no_ssl2_ciphers()
262 STACK_OF(SSL_CIPHER) *ciphers; in ssl23_no_ssl2_ciphers()
/external/openssl/patches/
D0003-jsse.patch14 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;
D0016-ecdhe_psk_part2.patch19 @@ -2828,35 +2828,34 @@ OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
/external/openssl/include/openssl/
Dssl.h368 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/
Dssl.h285 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 …]
Dstack_macros.h3473 ((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 …]
Dssl3.h433 const SSL_CIPHER *new_cipher;
/external/openssl/apps/
Dciphers.c95 STACK_OF(SSL_CIPHER) *sk; in MAIN()
187 SSL_CIPHER *c; in MAIN()
/external/chromium_org/third_party/boringssl/src/tool/
Dclient.cc120 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl); in PrintConnectionInfo()
/external/chromium_org/net/socket/
Dssl_client_socket_openssl.cc79 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()

12