Lines Matching defs:cipher
98 const SSL_CIPHER *cipher = arg;
112 if (cipher->algorithm_auth & SSL_aNULL)
115 if (cipher->algorithm_mac & SSL_MD5)
121 if (cipher->algorithm_enc & SSL_RC4)
127 /* Security level >= 3 requires a cipher with forward secrecy. */
128 if ((cipher->algorithm_mkey & (SSL_kDHE | SSL_kECDHE)) == 0 &&
129 cipher->algorithm_ssl != SSL_TLSV1_3)
135 if (cipher->algorithm_mac & SSL_SHA1)
204 int version, void *cipher, void *ex_data)
210 return ssl_security_secop_cipher(ctx, ssl, bits, cipher);
261 ssl_security_cipher(const SSL *ssl, SSL_CIPHER *cipher, int secop)
263 return ssl_security(ssl, secop, cipher->strength_bits, 0, cipher);
267 ssl_security_cipher_check(const SSL *ssl, SSL_CIPHER *cipher)
269 return ssl_security_cipher(ssl, cipher, SSL_SECOP_CIPHER_CHECK);
273 ssl_security_shared_cipher(const SSL *ssl, SSL_CIPHER *cipher)
275 return ssl_security_cipher(ssl, cipher, SSL_SECOP_CIPHER_SHARED);
279 ssl_security_supported_cipher(const SSL *ssl, SSL_CIPHER *cipher)
281 return ssl_security_cipher(ssl, cipher, SSL_SECOP_CIPHER_SUPPORTED);