Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_cipher.c158 static const SSL_CIPHER kCiphers[] = {
630 const SSL_CIPHER *cipher;
723 const SSL_CIPHER *a = in_a; in ssl_cipher_id_cmp()
724 const SSL_CIPHER *b = in_b; in ssl_cipher_id_cmp()
735 static int ssl_cipher_ptr_id_cmp(const SSL_CIPHER **a, const SSL_CIPHER **b) { in ssl_cipher_ptr_id_cmp()
739 const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value) { in SSL_get_cipher_by_value()
740 SSL_CIPHER c; in SSL_get_cipher_by_value()
743 return bsearch(&c, kCiphers, kCiphersLen, sizeof(SSL_CIPHER), in SSL_get_cipher_by_value()
750 const SSL_CIPHER *cipher, uint16_t version) { in ssl_cipher_get_evp_aead()
957 const SSL_CIPHER *cipher = &kCiphers[i]; in ssl_cipher_collect_ciphers()
[all …]
Dinternal.h215 const SSL_CIPHER *cipher, uint16_t version);
229 STACK_OF(SSL_CIPHER) *
232 STACK_OF(SSL_CIPHER) **out_cipher_list_by_id,
236 uint16_t ssl_cipher_get_value(const SSL_CIPHER *cipher);
240 int ssl_cipher_get_key_type(const SSL_CIPHER *cipher);
245 int ssl_cipher_has_server_public_key(const SSL_CIPHER *cipher);
253 int ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher);
258 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher);
266 const SSL_CIPHER *cipher;
296 uint16_t version, const SSL_CIPHER *cipher,
[all …]
Ds3_lib.c180 int ssl3_supports_cipher(const SSL_CIPHER *cipher) { in ssl3_supports_cipher()
472 const SSL_CIPHER *ssl3_choose_cipher( in ssl3_choose_cipher()
473 SSL *ssl, STACK_OF(SSL_CIPHER) *clnt, in ssl3_choose_cipher()
475 const SSL_CIPHER *c, *ret = NULL; in ssl3_choose_cipher()
476 STACK_OF(SSL_CIPHER) *srvr = server_pref->ciphers, *prio, *allow; in ssl3_choose_cipher()
Dssl_lib.c1248 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl) { in STACK_OF() argument
1276 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *ssl) { in STACK_OF() argument
1293 const SSL_CIPHER *c; in SSL_get_cipher_list()
1294 STACK_OF(SSL_CIPHER) *sk; in SSL_get_cipher_list()
1314 STACK_OF(SSL_CIPHER) *cipher_list = ssl_create_cipher_list( in SSL_CTX_set_cipher_list()
1330 STACK_OF(SSL_CIPHER) *cipher_list = ssl_create_cipher_list( in SSL_CTX_set_cipher_list_tls10()
1346 STACK_OF(SSL_CIPHER) *cipher_list = ssl_create_cipher_list( in SSL_CTX_set_cipher_list_tls11()
1362 STACK_OF(SSL_CIPHER) *cipher_list = ssl_create_cipher_list( in SSL_set_cipher_list()
1377 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *ssl, const CBS *cbs) { in STACK_OF() argument
1379 const SSL_CIPHER *c; in STACK_OF()
[all …]
Dssl_test.cc296 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(list->ciphers, i); in PrintCipherPreferenceList()
327 const SSL_CIPHER *cipher = in TestCipherRule()
690 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(value); in CipherGetRFCName()
Dd1_lib.c155 int dtls1_supports_cipher(const SSL_CIPHER *cipher) { in dtls1_supports_cipher()
Ds3_clnt.c601 STACK_OF(SSL_CIPHER) *ciphers = SSL_get_ciphers(ssl); in ssl3_write_client_cipher_list()
606 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in ssl3_write_client_cipher_list()
740 STACK_OF(SSL_CIPHER) *sk; in ssl3_get_server_hello()
741 const SSL_CIPHER *c; in ssl3_get_server_hello()
937 const SSL_CIPHER *cipher = ssl->s3->tmp.new_cipher; in ssl3_check_leaf_certificate()
Dssl_aead_ctx.c32 uint16_t version, const SSL_CIPHER *cipher, in SSL_AEAD_CTX_new()
Ds3_srvr.c771 const SSL_CIPHER *c; in ssl3_get_client_hello()
772 STACK_OF(SSL_CIPHER) *ciphers = NULL; in ssl3_get_client_hello()
Dt1_lib.c1814 const STACK_OF(SSL_CIPHER) *cipher_stack = SSL_get_ciphers(ssl); in ssl_any_ec_cipher_suites_enabled()
1818 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(cipher_stack, i); in ssl_any_ec_cipher_suites_enabled()
/external/boringssl/src/include/openssl/
Dssl.h1011 DECLARE_STACK_OF(SSL_CIPHER)
1016 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value);
1020 OPENSSL_EXPORT uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher);
1024 OPENSSL_EXPORT int SSL_CIPHER_is_AES(const SSL_CIPHER *cipher);
1027 OPENSSL_EXPORT int SSL_CIPHER_has_MD5_HMAC(const SSL_CIPHER *cipher);
1030 OPENSSL_EXPORT int SSL_CIPHER_has_SHA1_HMAC(const SSL_CIPHER *cipher);
1033 OPENSSL_EXPORT int SSL_CIPHER_is_AESGCM(const SSL_CIPHER *cipher);
1036 OPENSSL_EXPORT int SSL_CIPHER_is_AES128GCM(const SSL_CIPHER *cipher);
1040 OPENSSL_EXPORT int SSL_CIPHER_is_AES128CBC(const SSL_CIPHER *cipher);
1044 OPENSSL_EXPORT int SSL_CIPHER_is_AES256CBC(const SSL_CIPHER *cipher);
[all …]
Dstack_macros.h3685 ((STACK_OF(SSL_CIPHER) *)sk_new(CHECKED_CAST( \
3687 int (*)(const const SSL_CIPHER **a, const const SSL_CIPHER **b), comp)))
3689 #define sk_SSL_CIPHER_new_null() ((STACK_OF(SSL_CIPHER) *)sk_new_null())
3692 sk_num(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk))
3695 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk));
3698 ((const SSL_CIPHER *)sk_value( \
3699 CHECKED_CAST(_STACK *, const STACK_OF(SSL_CIPHER) *, sk), (i)))
3702 ((const SSL_CIPHER *)sk_set( \
3703 CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk), (i), \
3704 CHECKED_CAST(void *, const SSL_CIPHER *, p)))
[all …]
Dbase.h235 typedef struct ssl_cipher_st SSL_CIPHER; typedef
/external/boringssl/src/tool/
Dciphers.cc44 STACK_OF(SSL_CIPHER) *ciphers = pref_list->ciphers; in Ciphers()
49 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in Ciphers()
Dtransport_common.cc169 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl); in PrintConnectionInfo()
/external/webrtc/webrtc/base/
Dopensslstreamadapter.h23 typedef struct ssl_cipher_st SSL_CIPHER; typedef
Dopensslstreamadapter.cc358 const SSL_CIPHER* ssl_cipher = SSL_get_cipher_by_value(cipher_suite); in SslCipherSuiteToName()
381 const SSL_CIPHER* current_cipher = SSL_get_current_cipher(ssl_); in GetSslCipherSuite()
/external/curl/packages/vms/
Dcurlmsg.msg84 SSL_CIPHER <SSL CIPHER, could not use specified cipher>
Dcurlmsg.sdl88 ,"SSL_CIPHER" EQUALS %X0F0181E2 PREFIX "CURL" TAG ""
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c3114 const SSL_CIPHER *ssl_cipher; in openssl_get_keyblock_size()
4151 STACK_OF(SSL_CIPHER) *peer_ciphers, in tls_sess_sec_cb()
4152 const SSL_CIPHER **cipher, void *arg) in tls_sess_sec_cb()
4155 STACK_OF(SSL_CIPHER) *peer_ciphers, in tls_sess_sec_cb()
4156 SSL_CIPHER **cipher, void *arg) in tls_sess_sec_cb()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp330 void operator()(STACK_OF(SSL_CIPHER)* p) const { in operator ()()
335 typedef UniquePtr<STACK_OF(SSL_CIPHER), sk_SSL_CIPHER_Delete> Unique_sk_SSL_CIPHER;
925 static SSL_CIPHER* to_SSL_CIPHER(JNIEnv* env, jlong ssl_cipher_address, bool throwIfNull) { in to_SSL_CIPHER()
926 SSL_CIPHER* ssl_cipher in to_SSL_CIPHER()
927 = reinterpret_cast<SSL_CIPHER*>(static_cast<uintptr_t>(ssl_cipher_address)); in to_SSL_CIPHER()
7687 const SSL_CIPHER *cipher = ssl->s3->tmp.new_cipher;
8826 STACK_OF(SSL_CIPHER)* cipherStack = SSL_get_ciphers(ssl);
10639 const SSL_CIPHER* cipher = ssl_session->cipher;
10736 const SSL_CIPHER* cipher = to_SSL_CIPHER(env, cipher_address, true);
10764 STACK_OF(SSL_CIPHER) *ciphers = SSL_get_ciphers(ssl.get());