summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-04-14 10:41:17 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-04-14 10:41:17 +0200
commite6714a41dc144f7a38924e049bd597b5076567f0 (patch)
tree50546f829ac4058f27c112df1836facb0c53613d /src
parent66552deffd8df6598013ec63e44917323757e49d (diff)
downloadgnutls-e6714a41dc144f7a38924e049bd597b5076567f0.tar.gz
nettle 2.7 is required
Diffstat (limited to 'src')
-rw-r--r--src/benchmark-tls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/benchmark-tls.c b/src/benchmark-tls.c
index 5acf505527..84bbb87e26 100644
--- a/src/benchmark-tls.c
+++ b/src/benchmark-tls.c
@@ -440,24 +440,20 @@ void benchmark_tls(int debug_level, int ciphers)
{
printf("Testing throughput in cipher/MAC combinations:\n\n");
-#ifdef HAVE_NETTLE27
test_ciphersuite(PRIO_SALSA20_256_UMAC_96, 1400);
test_ciphersuite(PRIO_SALSA20_256_SHA1, 1400);
test_ciphersuite(PRIO_ESTREAM_SALSA20_256_UMAC_96, 1400);
test_ciphersuite(PRIO_ESTREAM_SALSA20_256_SHA1, 1400);
-#endif
test_ciphersuite(PRIO_ARCFOUR_128_SHA1, 1400);
test_ciphersuite(PRIO_ARCFOUR_128_MD5, 1400);
test_ciphersuite(PRIO_AES_GCM, 1400);
test_ciphersuite(PRIO_AES_CBC_SHA1, 1400);
test_ciphersuite(PRIO_CAMELLIA_CBC_SHA1, 1400);
-#ifdef HAVE_NETTLE27
test_ciphersuite(PRIO_SALSA20_256_UMAC_96, 15 * 1024);
test_ciphersuite(PRIO_SALSA20_256_SHA1, 15*1024);
test_ciphersuite(PRIO_ESTREAM_SALSA20_256_UMAC_96, 15 * 1024);
test_ciphersuite(PRIO_ESTREAM_SALSA20_256_SHA1, 15*1024);
-#endif
test_ciphersuite(PRIO_ARCFOUR_128_SHA1, 15 * 1024);
test_ciphersuite(PRIO_ARCFOUR_128_MD5, 15 * 1024);
test_ciphersuite(PRIO_AES_GCM, 15 * 1024);