Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dssl_cipher.cc159 static constexpr SSL_CIPHER kCiphers[] = {
466 Span<const SSL_CIPHER> AllCiphers() { in AllCiphers()
477 const SSL_CIPHER *cipher;
562 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher, in ssl_cipher_get_evp_aead()
639 const SSL_CIPHER *cipher) { in ssl_get_handshake_digest()
716 for (const SSL_CIPHER &cipher : kCiphers) { in ssl_cipher_collect_ciphers()
759 bool SSLCipherPreferenceList::Init(UniquePtr<STACK_OF(SSL_CIPHER)> ciphers_arg, in Init()
779 UniquePtr<STACK_OF(SSL_CIPHER)> other_ciphers(sk_SSL_CIPHER_dup( in Init()
787 void SSLCipherPreferenceList::Remove(const SSL_CIPHER *cipher) { in Remove()
816 const SSL_CIPHER *cp; in ssl_cipher_apply_rule()
[all …]
Dhandoff.cc34 Span<const SSL_CIPHER> all_ciphers = AllCiphers(); in serialize_features()
35 for (const SSL_CIPHER& cipher : all_ciphers) { in serialize_features()
97 bssl::UniquePtr<STACK_OF(SSL_CIPHER)> supported(sk_SSL_CIPHER_new_null()); in apply_remote_features()
103 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(id); in apply_remote_features()
111 STACK_OF(SSL_CIPHER) *configured = in apply_remote_features()
114 bssl::UniquePtr<STACK_OF(SSL_CIPHER)> unsupported(sk_SSL_CIPHER_new_null()); in apply_remote_features()
115 for (const SSL_CIPHER *configured_cipher : configured) { in apply_remote_features()
129 for (const SSL_CIPHER *unsupported_cipher : unsupported.get()) { in apply_remote_features()
Dinternal.h504 bool Init(UniquePtr<STACK_OF(SSL_CIPHER)> ciphers,
508 void Remove(const SSL_CIPHER *cipher);
510 UniquePtr<STACK_OF(SSL_CIPHER)> ciphers;
515 Span<const SSL_CIPHER> AllCiphers();
524 size_t *out_fixed_iv_len, const SSL_CIPHER *cipher,
530 const SSL_CIPHER *cipher);
541 uint16_t ssl_cipher_get_value(const SSL_CIPHER *cipher);
549 bool ssl_cipher_uses_certificate_auth(const SSL_CIPHER *cipher);
556 bool ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher);
561 size_t ssl_cipher_get_record_split_len(const SSL_CIPHER *cipher);
[all …]
Dssl_aead_ctx.cc37 const SSL_CIPHER *cipher_arg) in SSLAEADContext()
58 const SSL_CIPHER *cipher, Span<const uint8_t> enc_key, in Create()
150 uint16_t version, const SSL_CIPHER *cipher) { in CreatePlaceholderForQUIC()
Dt1_enc.cc169 const SSL_CIPHER *cipher) { in get_key_block_lengths()
194 const SSL_CIPHER *cipher, in tls1_configure_aead()
Dhandshake_server.cc266 static UniquePtr<STACK_OF(SSL_CIPHER)> ssl_parse_client_cipher_list( in ssl_parse_client_cipher_list()
272 UniquePtr<STACK_OF(SSL_CIPHER)> sk(sk_SSL_CIPHER_new_null()); in ssl_parse_client_cipher_list()
286 const SSL_CIPHER *c = SSL_get_cipher_by_value(cipher_suite); in ssl_parse_client_cipher_list()
329 static const SSL_CIPHER *ssl3_choose_cipher( in ssl3_choose_cipher()
333 const STACK_OF(SSL_CIPHER) *prio, *allow; in ssl3_choose_cipher()
343 UniquePtr<STACK_OF(SSL_CIPHER)> client_pref = in ssl3_choose_cipher()
363 const SSL_CIPHER *c = sk_SSL_CIPHER_value(prio, i); in ssl3_choose_cipher()
Dtls13_server.cc116 Score Evaluate(const SSL_CIPHER *a) const { in Evaluate()
131 static const SSL_CIPHER *choose_tls13_cipher( in choose_tls13_cipher()
143 const SSL_CIPHER *best = nullptr; in choose_tls13_cipher()
154 const SSL_CIPHER *candidate = SSL_get_cipher_by_value(cipher_suite); in choose_tls13_cipher()
Dssl_transcript.cc171 bool SSLTranscript::InitHash(uint16_t version, const SSL_CIPHER *cipher) { in InitHash()
Dssl_lib.cc1907 STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx) { in STACK_OF() argument
1918 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl) { in STACK_OF() argument
1936 STACK_OF(SSL_CIPHER) *sk = SSL_get_ciphers(ssl); in SSL_get_cipher_list()
1941 const SSL_CIPHER *c = sk_SSL_CIPHER_value(sk, n); in SSL_get_cipher_list()
2345 const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl) { in SSL_get_current_cipher()
2781 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl) { in SSL_get_pending_cipher()
Dtls13_client.cc98 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(cipher_suite); in do_read_hello_retry_request()
261 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(cipher_suite); in do_read_server_hello()
Dtls13_enc.cc36 const SSL_CIPHER *cipher) { in init_key_schedule()
Dssl_test.cc436 const STACK_OF(SSL_CIPHER) *ciphers = SSL_CTX_get_ciphers(ctx); in CipherListToString()
438 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in CipherListToString()
459 const STACK_OF(SSL_CIPHER) *ciphers = SSL_CTX_get_ciphers(ctx); in CipherListsEqual()
465 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in CipherListsEqual()
513 for (const SSL_CIPHER *cipher : SSL_CTX_get_ciphers(ctx.get())) { in TEST()
990 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(t.id & 0xffff); in TEST()
4647 const SSL_CIPHER *cipher) { in SetEncryptionSecrets()
Dhandshake_client.cc252 for (const SSL_CIPHER *cipher : SSL_get_ciphers(ssl)) { in ssl_write_client_cipher_list()
663 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(cipher_suite); in do_read_server_hello()
/external/boringssl/src/include/openssl/
Dssl.h1232 DEFINE_CONST_STACK_OF(SSL_CIPHER)
1237 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value);
1241 OPENSSL_EXPORT uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher);
1244 OPENSSL_EXPORT int SSL_CIPHER_is_aead(const SSL_CIPHER *cipher);
1247 OPENSSL_EXPORT int SSL_CIPHER_is_block_cipher(const SSL_CIPHER *cipher);
1253 OPENSSL_EXPORT int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *cipher);
1260 OPENSSL_EXPORT int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *cipher);
1266 OPENSSL_EXPORT int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *cipher);
1272 OPENSSL_EXPORT int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *cipher);
1278 OPENSSL_EXPORT int SSL_CIPHER_get_prf_nid(const SSL_CIPHER *cipher);
[all …]
Dbase.h393 typedef struct ssl_cipher_st SSL_CIPHER; typedef
/external/boringssl/src/tool/
Dciphers.cc45 STACK_OF(SSL_CIPHER) *ciphers = SSL_CTX_get_ciphers(ctx.get()); in Ciphers()
50 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(ciphers, i); in Ciphers()
Dtransport_common.cc276 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.sdl89 ,"SSL_CIPHER" EQUALS %X0F0181E2 PREFIX "CURL" TAG ""
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py1180 SSL_CIPHER = ssl_cipher_st variable
1204 ('get_cipher_by_char', CFUNCTYPE(POINTER(SSL_CIPHER), POINTER(c_ubyte))),
1205 ('put_cipher_by_char', CFUNCTYPE(c_int, POINTER(SSL_CIPHER), POINTER(c_ubyte))),
1208 ('get_cipher', CFUNCTYPE(POINTER(SSL_CIPHER), c_uint)),
1243 ('cipher', POINTER(SSL_CIPHER)),
1493 ('new_cipher', POINTER(SSL_CIPHER)),
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py1180 SSL_CIPHER = ssl_cipher_st variable
1204 ('get_cipher_by_char', CFUNCTYPE(POINTER(SSL_CIPHER), POINTER(c_ubyte))),
1205 ('put_cipher_by_char', CFUNCTYPE(c_int, POINTER(SSL_CIPHER), POINTER(c_ubyte))),
1208 ('get_cipher', CFUNCTYPE(POINTER(SSL_CIPHER), c_uint)),
1243 ('cipher', POINTER(SSL_CIPHER)),
1493 ('new_cipher', POINTER(SSL_CIPHER)),
/external/python/cpython3/Modules/
D_ssl.c1837 cipher_to_tuple(const SSL_CIPHER *cipher) in cipher_to_tuple()
1880 cipher_to_dict(const SSL_CIPHER *cipher) in cipher_to_dict()
1946 STACK_OF(SSL_CIPHER) *ciphers; in _ssl__SSLSocket_shared_ciphers_impl()
1975 const SSL_CIPHER *current; in _ssl__SSLSocket_cipher_impl()
3193 STACK_OF(SSL_CIPHER) *sk = NULL; in _ssl__SSLContext_get_ciphers_impl()
3194 const SSL_CIPHER *cipher; in _ssl__SSLContext_get_ciphers_impl()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c3915 const SSL_CIPHER *ssl_cipher; in openssl_get_keyblock_size()
5105 STACK_OF(SSL_CIPHER) *peer_ciphers, in tls_sess_sec_cb()
5106 const SSL_CIPHER **cipher, void *arg) in tls_sess_sec_cb()
5109 STACK_OF(SSL_CIPHER) *peer_ciphers, in tls_sess_sec_cb()
5110 SSL_CIPHER **cipher, void *arg) in tls_sess_sec_cb()

12