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