Searched refs:SSL_CIPHER (Results 1 - 23 of 23) sorted by relevance

/external/boringssl/src/ssl/
H A Dssl_cipher.c156 const SSL_CIPHER kCiphers[] = {
501 const SSL_CIPHER *cipher;
512 * |SSL_CIPHER|. A cipher matches a cipher alias iff, for each bitmask, the
590 const SSL_CIPHER *a = in_a;
591 const SSL_CIPHER *b = in_b;
602 static int ssl_cipher_ptr_id_cmp(const SSL_CIPHER **a, const SSL_CIPHER **b) {
606 const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value) {
607 SSL_CIPHER c;
610 return bsearch(&c, kCiphers, kCiphersLen, sizeof(SSL_CIPHER),
[all...]
H A Dinternal.h219 * SSL_CIPHER.algorithm2 which indicates that the variable part of the nonce is
237 const SSL_CIPHER *cipher, uint16_t version);
251 STACK_OF(SSL_CIPHER) *
254 STACK_OF(SSL_CIPHER) **out_cipher_list_by_id,
264 uint16_t ssl_cipher_get_value(const SSL_CIPHER *cipher);
268 int ssl_cipher_get_cert_index(const SSL_CIPHER *cipher);
273 int ssl_cipher_has_server_public_key(const SSL_CIPHER *cipher);
281 int ssl_cipher_requires_server_key_exchange(const SSL_CIPHER *cipher);
289 const SSL_CIPHER *cipher;
316 uint16_t version, const SSL_CIPHER *ciphe
[all...]
H A Dssl_test.cc218 const SSL_CIPHER *cipher = sk_SSL_CIPHER_value(list->ciphers, i);
249 const SSL_CIPHER *cipher =
470 const SSL_CIPHER *cipher = SSL_get_cipher_by_value(value);
H A Ds3_lib.c177 int ssl3_supports_cipher(const SSL_CIPHER *cipher) {
632 const SSL_CIPHER *ssl3_choose_cipher(
633 SSL *s, STACK_OF(SSL_CIPHER) *clnt,
635 const SSL_CIPHER *c, *ret = NULL;
636 STACK_OF(SSL_CIPHER) *srvr = server_pref->ciphers, *prio, *allow;
H A Dssl_lib.c488 STACK_OF(SSL_CIPHER) *ciphers) {
1127 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) {
1150 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) {
1168 const SSL_CIPHER *c;
1169 STACK_OF(SSL_CIPHER) *sk;
1190 STACK_OF(SSL_CIPHER) *sk;
1210 STACK_OF(SSL_CIPHER) *sk;
1226 STACK_OF(SSL_CIPHER) *sk;
1242 int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk, uint8_t *p) {
1244 const SSL_CIPHER *
[all...]
H A Dd1_lib.c154 int dtls1_supports_cipher(const SSL_CIPHER *cipher) {
H A Dssl_aead_ctx.c30 uint16_t version, const SSL_CIPHER *cipher,
H A Dt1_lib.c816 STACK_OF(SSL_CIPHER) *cipher_stack = SSL_get_ciphers(s);
819 const SSL_CIPHER *c = sk_SSL_CIPHER_value(cipher_stack, i);
H A Ds3_clnt.c724 STACK_OF(SSL_CIPHER) *sk;
725 const SSL_CIPHER *c;
H A Ds3_srvr.c812 const SSL_CIPHER *c;
813 STACK_OF(SSL_CIPHER) *ciphers = NULL;
/external/boringssl/include/openssl/
H A Dssl.h184 /* An SSL_CIPHER represents a cipher suite. */
207 } SSL_CIPHER; typedef in typeref:struct:ssl_cipher_st
209 DECLARE_STACK_OF(SSL_CIPHER)
214 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value);
218 OPENSSL_EXPORT uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher);
222 OPENSSL_EXPORT int SSL_CIPHER_is_AES(const SSL_CIPHER *cipher);
225 OPENSSL_EXPORT int SSL_CIPHER_has_MD5_HMAC(const SSL_CIPHER *cipher);
228 OPENSSL_EXPORT int SSL_CIPHER_is_AESGCM(const SSL_CIPHER *cipher);
232 OPENSSL_EXPORT int SSL_CIPHER_is_CHACHA20POLY1305(const SSL_CIPHER *cipher);
235 OPENSSL_EXPORT const char *SSL_CIPHER_get_name(const SSL_CIPHER *ciphe
[all...]
H A Dstack_macros.h3753 /* SSL_CIPHER */
3755 ((STACK_OF(SSL_CIPHER) *)sk_new(CHECKED_CAST( \
3757 int (*)(const const SSL_CIPHER **a, const const SSL_CIPHER **b), comp)))
3759 #define sk_SSL_CIPHER_new_null() ((STACK_OF(SSL_CIPHER) *)sk_new_null())
3762 sk_num(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk))
3765 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk));
3768 ((const SSL_CIPHER *)sk_value( \
3769 CHECKED_CAST(_STACK *, const STACK_OF(SSL_CIPHER) *, sk), (i)))
3772 ((const SSL_CIPHER *)sk_se
[all...]
H A Dssl3.h439 const SSL_CIPHER *new_cipher;
/external/boringssl/src/include/openssl/
H A Dssl.h184 /* An SSL_CIPHER represents a cipher suite. */
207 } SSL_CIPHER; typedef in typeref:struct:ssl_cipher_st
209 DECLARE_STACK_OF(SSL_CIPHER)
214 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value);
218 OPENSSL_EXPORT uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher);
222 OPENSSL_EXPORT int SSL_CIPHER_is_AES(const SSL_CIPHER *cipher);
225 OPENSSL_EXPORT int SSL_CIPHER_has_MD5_HMAC(const SSL_CIPHER *cipher);
228 OPENSSL_EXPORT int SSL_CIPHER_is_AESGCM(const SSL_CIPHER *cipher);
232 OPENSSL_EXPORT int SSL_CIPHER_is_CHACHA20POLY1305(const SSL_CIPHER *cipher);
235 OPENSSL_EXPORT const char *SSL_CIPHER_get_name(const SSL_CIPHER *ciphe
[all...]
H A Dstack_macros.h3753 /* SSL_CIPHER */
3755 ((STACK_OF(SSL_CIPHER) *)sk_new(CHECKED_CAST( \
3757 int (*)(const const SSL_CIPHER **a, const const SSL_CIPHER **b), comp)))
3759 #define sk_SSL_CIPHER_new_null() ((STACK_OF(SSL_CIPHER) *)sk_new_null())
3762 sk_num(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk))
3765 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(SSL_CIPHER) *, sk));
3768 ((const SSL_CIPHER *)sk_value( \
3769 CHECKED_CAST(_STACK *, const STACK_OF(SSL_CIPHER) *, sk), (i)))
3772 ((const SSL_CIPHER *)sk_se
[all...]
H A Dssl3.h439 const SSL_CIPHER *new_cipher;
/external/boringssl/src/tool/
H A Dtransport_common.cc169 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_openssl.c3672 STACK_OF(SSL_CIPHER) *peer_ciphers,
3673 const SSL_CIPHER **cipher, void *arg)
3676 STACK_OF(SSL_CIPHER) *peer_ciphers,
3677 SSL_CIPHER **cipher, void *arg)
/external/wpa_supplicant_8/src/crypto/
H A Dtls_openssl.c3672 STACK_OF(SSL_CIPHER) *peer_ciphers,
3673 const SSL_CIPHER **cipher, void *arg)
3676 STACK_OF(SSL_CIPHER) *peer_ciphers,
3677 SSL_CIPHER **cipher, void *arg)
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls_openssl.c3672 STACK_OF(SSL_CIPHER) *peer_ciphers,
3673 const SSL_CIPHER **cipher, void *arg)
3676 STACK_OF(SSL_CIPHER) *peer_ciphers,
3677 SSL_CIPHER **cipher, void *arg)
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp324 void operator()(STACK_OF(SSL_CIPHER)* p) const {
325 // We don't own SSL_CIPHER references, so no need for pop_free
329 typedef UniquePtr<STACK_OF(SSL_CIPHER), sk_SSL_CIPHER_Delete> Unique_sk_SSL_CIPHER;
916 static SSL_CIPHER* to_SSL_CIPHER(JNIEnv* env, jlong ssl_cipher_address, bool throwIfNull) {
917 SSL_CIPHER* ssl_cipher
918 = reinterpret_cast<SSL_CIPHER*>(static_cast<uintptr_t>(ssl_cipher_address));
7689 const SSL_CIPHER *cipher = ssl->s3->tmp.new_cipher;
8685 STACK_OF(SSL_CIPHER)* cipherStack = SSL_get_ciphers(ssl);
8700 SSL_CIPHER* cipher = to_SSL_CIPHER(env, ssl_cipher_address, true);
8708 SSL_CIPHER* ciphe
[all...]
/external/libvncserver/x11vnc/
H A Denc.h1539 SSL_CIPHER *c;
H A Dsslhelper.c1896 SSL_CIPHER *c;

Completed in 291 milliseconds