Lines Matching refs:ciph
14 static int cipher_enabled(const SSL_CIPHER *ciph)
20 if ((ciph->algorithm_mac & SSL_AEAD) != 0)
23 if (ciph->algorithm_enc != SSL_eNULL
24 && EVP_get_cipherbynid(SSL_CIPHER_get_cipher_nid(ciph)) == NULL)
27 if (EVP_get_digestbynid(SSL_CIPHER_get_digest_nid(ciph)) == NULL)
36 const SSL_CIPHER *ciph;
40 ciph = ssl3_get_cipher(i);
41 if (!ciph->min_dtls)
43 if (!cipher_enabled(ciph)) {
44 TEST_skip("Skipping disabled cipher %s", ciph->name);
47 if (!TEST_true(ssl_cipher_get_overhead(ciph, &mac, &in, &blk, &ex))) {
48 TEST_info("Failed getting %s", ciph->name);
52 ciph->name, mac, in, blk, ex);