Home
last modified time | relevance | path

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

12

/external/openssl/ssl/
Dssl_locl.h606 OPENSSL_EXTERN const SSL_CIPHER ssl2_ciphers[];
607 OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[];
813 int ssl_cipher_id_cmp(const SSL_CIPHER *a,const SSL_CIPHER *b);
814 DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(SSL_CIPHER, SSL_CIPHER,
816 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap,
817 const SSL_CIPHER * const *bp);
818 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s,unsigned char *p,int num,
819 STACK_OF(SSL_CIPHER) **skp);
820 int ssl_cipher_list_to_bytes(SSL *s,STACK_OF(SSL_CIPHER) *sk,unsigned char *p,
821 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.c220 const SSL_CIPHER *cipher;
226 static const SSL_CIPHER cipher_aliases[]={
490 const SSL_CIPHER *c; in ssl_cipher_get_evp()
784 const SSL_CIPHER *c; in ssl_cipher_collect_ciphers()
850 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, in ssl_cipher_collect_aliases()
858 const SSL_CIPHER **ca_curr; in ssl_cipher_collect_aliases()
912 *ca_curr = (SSL_CIPHER *)(cipher_aliases + i); in ssl_cipher_collect_aliases()
928 const SSL_CIPHER *cp; in ssl_cipher_apply_rule()
1104 const SSL_CIPHER **ca_list) in ssl_cipher_process_rulestr()
1352 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()
1219 int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b) in ssl_cipher_id_cmp()
1230 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap, in ssl_cipher_ptr_id_cmp()
1231 const SSL_CIPHER * const *bp) in ssl_cipher_ptr_id_cmp()
1244 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF() argument
1263 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF() argument
1283 SSL_CIPHER *c; in SSL_get_cipher_list()
1284 STACK_OF(SSL_CIPHER) *sk; in SSL_get_cipher_list()
1298 STACK_OF(SSL_CIPHER) *sk; in SSL_CTX_set_cipher_list()
1322 STACK_OF(SSL_CIPHER) *sk; in SSL_set_cipher_list()
[all …]
Dssl.h367 typedef struct ssl_cipher_st SSL_CIPHER; typedef
370 DECLARE_STACK_OF(SSL_CIPHER)
382 …et_cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **…
431 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr);
432 int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr);
435 const SSL_CIPHER *(*get_cipher)(unsigned ncipher);
516 const SSL_CIPHER *cipher;
521 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */
777 STACK_OF(SSL_CIPHER) *cipher_list;
779 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[]={
2924 const SSL_CIPHER *ssl3_get_cipher(unsigned int u) in ssl3_get_cipher()
3720 const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p) in ssl3_get_cipher_by_char()
3722 SSL_CIPHER c; in ssl3_get_cipher_by_char()
3723 const SSL_CIPHER *cp; in ssl3_get_cipher_by_char()
3738 int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) in ssl3_put_cipher_by_char()
3752 SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher()
3753 STACK_OF(SSL_CIPHER) *srvr) in ssl3_choose_cipher()
3755 SSL_CIPHER *c,*ret=NULL; in ssl3_choose_cipher()
[all …]
Dd1_lib.c280 const SSL_CIPHER *dtls1_get_cipher(unsigned int u) in dtls1_get_cipher()
282 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.c259 SSL_CIPHER *cipher; in ssl23_no_ssl2_ciphers()
260 STACK_OF(SSL_CIPHER) *ciphers; in ssl23_no_ssl2_ciphers()
Dssl3.h504 const SSL_CIPHER *new_cipher;
Ds3_srvr.c921 SSL_CIPHER *c; in ssl3_get_client_hello()
925 STACK_OF(SSL_CIPHER) *ciphers=NULL; in ssl3_get_client_hello()
1220 SSL_CIPHER *pref_cipher=NULL; in ssl3_get_client_hello()
1374 STACK_OF(SSL_CIPHER) *sk; in ssl3_get_client_hello()
1375 SSL_CIPHER *nc=NULL; in ssl3_get_client_hello()
1376 SSL_CIPHER *ec=NULL; in ssl3_get_client_hello()
Dssl_sess.c915 STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **cipher, void *arg), void *arg) in SSL_set_session_secret_cb()
Dssltest.c379 const SSL_CIPHER *ciph; in print_details()
2567 const SSL_CIPHER *ci, *tci = NULL; in do_test_cipherlist()
Ds3_clnt.c875 STACK_OF(SSL_CIPHER) *sk; in ssl3_get_server_hello()
876 const SSL_CIPHER *c; in ssl3_get_server_hello()
949 SSL_CIPHER *pref_cipher=NULL; in ssl3_get_server_hello()
Dt1_lib.c1652 STACK_OF(SSL_CIPHER) *cipher_stack = SSL_get_ciphers(s); in ssl_prepare_clienthello_tlsext()
1656 SSL_CIPHER *c = sk_SSL_CIPHER_value(cipher_stack, i); in ssl_prepare_clienthello_tlsext()
Ds2_clnt.c338 STACK_OF(SSL_CIPHER) *sk=NULL,*cl, *prio, *allow; in get_server_hello()
/external/openssl/include/openssl/
Dssl.h367 typedef struct ssl_cipher_st SSL_CIPHER; typedef
370 DECLARE_STACK_OF(SSL_CIPHER)
382 …et_cb_fn)(SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **…
431 const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr);
432 int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr);
435 const SSL_CIPHER *(*get_cipher)(unsigned ncipher);
516 const SSL_CIPHER *cipher;
521 STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */
777 STACK_OF(SSL_CIPHER) *cipher_list;
779 STACK_OF(SSL_CIPHER) *cipher_list_by_id;
[all …]
Dssl3.h504 const SSL_CIPHER *new_cipher;
Dsafestack.h1550 #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp))
1551 #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
1552 #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
1553 #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
1554 #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
1555 #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
1556 #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
1557 #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
1558 #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
1559 #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
[all …]
/external/openssl/apps/
Dciphers.c95 STACK_OF(SSL_CIPHER) *sk; in MAIN()
193 SSL_CIPHER *c; in MAIN()
/external/openssl/patches/
Djsse.patch25 +int SSL_set_cipher_lists(SSL *s, STACK_OF(SSL_CIPHER) *sk);
185 @@ -1652,6 +1652,52 @@ int SSL_CIPHER_get_bits(const SSL_CIPHER
190 +const char* SSL_CIPHER_authentication_method(const SSL_CIPHER* cipher)
263 +int SSL_set_cipher_lists(SSL *s,STACK_OF(SSL_CIPHER) *sk)
265 + STACK_OF(SSL_CIPHER) *tmp_cipher_list;
/external/chromium/net/socket/
Dssl_client_socket_openssl.cc47 unsigned long SSL_CIPHER_get_id(const SSL_CIPHER* cipher) { return cipher->id; } in SSL_CIPHER_get_id()
493 STACK_OF(SSL_CIPHER)* ciphers = SSL_get_ciphers(ssl_); in Init()
501 const SSL_CIPHER* cipher = sk_SSL_CIPHER_value(ciphers, i); in Init()
578 const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_); in GetSSLInfo()
/external/openssl/crypto/stack/
Dsafestack.h1550 #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp))
1551 #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
1552 #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
1553 #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
1554 #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
1555 #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
1556 #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
1557 #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
1558 #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
1559 #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
[all …]
/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