Lines Matching defs:cipher
144 /* Default cipher suites */
157 /* Python custom selection of sensible cipher suites
1914 cipher_to_tuple(const SSL_CIPHER *cipher)
1921 cipher_name = SSL_CIPHER_get_name(cipher);
1932 cipher_protocol = SSL_CIPHER_get_version(cipher);
1943 v = PyLong_FromLong(SSL_CIPHER_get_bits(cipher, NULL));
1956 cipher_to_dict(const SSL_CIPHER *cipher)
1967 cipher_name = SSL_CIPHER_get_name(cipher);
1968 cipher_protocol = SSL_CIPHER_get_version(cipher);
1969 cipher_id = SSL_CIPHER_get_id(cipher);
1970 SSL_CIPHER_description(cipher, buf, sizeof(buf) - 1);
1975 strength_bits = SSL_CIPHER_get_bits(cipher, &alg_bits);
1977 aead = SSL_CIPHER_is_aead(cipher);
1978 nid = SSL_CIPHER_get_cipher_nid(cipher);
1980 nid = SSL_CIPHER_get_digest_nid(cipher);
1982 nid = SSL_CIPHER_get_kx_nid(cipher);
1984 nid = SSL_CIPHER_get_auth_nid(cipher);
2017 const SSL_CIPHER* cipher;
2039 cipher = sk_SSL_CIPHER_value(server_ciphers, i);
2040 if (sk_SSL_CIPHER_find(client_ciphers, cipher) < 0)
2043 PyObject *tup = cipher_to_tuple(cipher);
2055 _ssl._SSLSocket.cipher
3149 /* A bare minimum cipher list without completely broken cipher suites.
3166 "No cipher can be selected.");
3268 "No cipher can be selected.");
3284 const SSL_CIPHER *cipher;
3301 cipher = sk_SSL_CIPHER_value(sk, i);
3302 dct = cipher_to_dict(cipher);