Home
last modified time | relevance | path

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

12

/external/openssl/ssl/
Dssl_locl.h585 OPENSSL_EXTERN const SSL_CIPHER ssl2_ciphers[];
586 OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[];
791 int ssl_cipher_id_cmp(const SSL_CIPHER *a,const SSL_CIPHER *b);
792 DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(SSL_CIPHER, SSL_CIPHER,
794 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap,
795 const SSL_CIPHER * const *bp);
796 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s,unsigned char *p,int num,
797 STACK_OF(SSL_CIPHER) **skp);
798 int ssl_cipher_list_to_bytes(SSL *s,STACK_OF(SSL_CIPHER) *sk,unsigned char *p,
799 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()
417 const SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p) in ssl2_get_cipher_by_char()
419 SSL_CIPHER c; in ssl2_get_cipher_by_char()
420 const SSL_CIPHER *cp; in ssl2_get_cipher_by_char()
433 int ssl2_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) in ssl2_put_cipher_by_char()
Dssl_ciph.c214 const SSL_CIPHER *cipher;
220 static const SSL_CIPHER cipher_aliases[]={
465 const SSL_CIPHER *c; in ssl_cipher_get_evp()
710 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers()
773 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases()
781 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases()
835 *ca_curr = (SSL_CIPHER *)(cipher_aliases + i); in ssl_cipher_collect_aliases()
851 const SSL_CIPHER *cp; in ssl_cipher_apply_rule()
1027 const SSL_CIPHER **ca_list) in ssl_cipher_process_rulestr()
1275 STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method, in STACK_OF() argument
[all …]
Dssl.h378 } SSL_CIPHER; typedef
380 DECLARE_STACK_OF(SSL_CIPHER)
383 …et_cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **…
408 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr);
409 int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr);
412 const SSL_CIPHER *(*get_cipher)(unsigned ncipher);
490 const SSL_CIPHER *cipher;
495 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */
696 STACK_OF(SSL_CIPHER) *cipher_list;
698 STACK_OF(SSL_CIPHER) *cipher_list_by_id;
[all …]
Dssl_lib.c257 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_ssl_version()
1197 int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b) in ssl_cipher_id_cmp()
1208 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap, in ssl_cipher_ptr_id_cmp()
1209 const SSL_CIPHER * const *bp) in ssl_cipher_ptr_id_cmp()
1222 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF() argument
1241 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF() argument
1261 SSL_CIPHER *c; in SSL_get_cipher_list()
1262 STACK_OF(SSL_CIPHER) *sk; in SSL_get_cipher_list()
1276 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_cipher_list()
1300 STACK_OF(SSL_CIPHER) *sk; in SSL_set_cipher_list()
[all …]
Ds3_lib.c167 #define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER))
170 OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[]={
2104 const SSL_CIPHER *ssl3_get_cipher(unsigned int u) in ssl3_get_cipher()
2805 const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p) in ssl3_get_cipher_by_char()
2807 SSL_CIPHER c; in ssl3_get_cipher_by_char()
2808 const SSL_CIPHER *cp; in ssl3_get_cipher_by_char()
2820 int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) in ssl3_put_cipher_by_char()
2834 SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher()
2835 STACK_OF(SSL_CIPHER) *srvr) in ssl3_choose_cipher()
2837 SSL_CIPHER *c,*ret=NULL; in ssl3_choose_cipher()
[all …]
Dd1_lib.c272 const SSL_CIPHER *dtls1_get_cipher(unsigned int u) in dtls1_get_cipher()
274 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.c255 SSL_CIPHER *cipher; in ssl23_no_ssl2_ciphers()
256 STACK_OF(SSL_CIPHER) *ciphers; in ssl23_no_ssl2_ciphers()
Dssl3.h488 const SSL_CIPHER *new_cipher;
Ds3_srvr.c831 SSL_CIPHER *c; in ssl3_get_client_hello()
835 STACK_OF(SSL_CIPHER) *ciphers=NULL; in ssl3_get_client_hello()
1126 SSL_CIPHER *pref_cipher=NULL; in ssl3_get_client_hello()
1280 STACK_OF(SSL_CIPHER) *sk; in ssl3_get_client_hello()
1281 SSL_CIPHER *nc=NULL; in ssl3_get_client_hello()
1282 SSL_CIPHER *ec=NULL; in ssl3_get_client_hello()
Dssl_sess.c851 STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **cipher, void *arg), void *arg) in SSL_set_session_secret_cb()
Dt1_lib.c1331 STACK_OF(SSL_CIPHER) *cipher_stack = SSL_get_ciphers(s); in ssl_prepare_clienthello_tlsext()
1335 SSL_CIPHER *c = sk_SSL_CIPHER_value(cipher_stack, i); in ssl_prepare_clienthello_tlsext()
Dssltest.c326 const SSL_CIPHER *ciph; in print_details()
2452 const SSL_CIPHER *ci, *tci = NULL; in do_test_cipherlist()
Ds3_clnt.c796 STACK_OF(SSL_CIPHER) *sk; in ssl3_get_server_hello()
797 const SSL_CIPHER *c; in ssl3_get_server_hello()
870 SSL_CIPHER *pref_cipher=NULL; in ssl3_get_server_hello()
/external/openssl/patches/
Djsse.patch13 @@ -1546,6 +1549,7 @@ const SSL_CIPHER *SSL_get_current_cipher
14 int SSL_CIPHER_get_bits(const SSL_CIPHER *c,int *alg_bits);
15 char * SSL_CIPHER_get_version(const SSL_CIPHER *c);
16 const char * SSL_CIPHER_get_name(const SSL_CIPHER *c);
17 +const char * SSL_CIPHER_authentication_method(const SSL_CIPHER *c);
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;
/external/openssl/include/openssl/
Dssl.h378 } SSL_CIPHER; typedef
380 DECLARE_STACK_OF(SSL_CIPHER)
383 …et_cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **…
408 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr);
409 int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr);
412 const SSL_CIPHER *(*get_cipher)(unsigned ncipher);
490 const SSL_CIPHER *cipher;
495 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */
696 STACK_OF(SSL_CIPHER) *cipher_list;
698 STACK_OF(SSL_CIPHER) *cipher_list_by_id;
[all …]
Dsafestack.h1462 #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp))
1463 #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
1464 #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
1465 #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
1466 #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
1467 #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
1468 #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
1469 #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
1470 #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
1471 #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
[all …]
Dssl3.h488 const SSL_CIPHER *new_cipher;
/external/openssl/apps/
Dciphers.c95 STACK_OF(SSL_CIPHER) *sk; in MAIN()
193 SSL_CIPHER *c; in MAIN()
/external/chromium/net/socket/
Dssl_client_socket_openssl.cc46 unsigned long SSL_CIPHER_get_id(const SSL_CIPHER* cipher) { return cipher->id; } in SSL_CIPHER_get_id()
485 STACK_OF(SSL_CIPHER)* ciphers = SSL_get_ciphers(ssl_); in Init()
493 const SSL_CIPHER* cipher = sk_SSL_CIPHER_value(ciphers, i); in Init()
570 const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_); in GetSSLInfo()
/external/openssl/crypto/stack/
Dsafestack.h1462 #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp))
1463 #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
1464 #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
1465 #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
1466 #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
1467 #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
1468 #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
1469 #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
1470 #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
1471 #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
[all …]
/external/wpa_supplicant/
Dtls_openssl.c2102 STACK_OF(SSL_CIPHER) *peer_ciphers, in tls_sess_sec_cb()
2103 SSL_CIPHER **cipher, void *arg) in tls_sess_sec_cb()
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dtls_openssl.c2594 STACK_OF(SSL_CIPHER) *peer_ciphers, in tls_sess_sec_cb()
2595 SSL_CIPHER **cipher, void *arg) in tls_sess_sec_cb()

12