diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-04-12 00:16:48 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-04-12 00:16:48 +0200 |
commit | aee995c12dac0cef7ed5972613cdf537e0be04a9 (patch) | |
tree | 9ca8b26ba099593cb4df6393e8606a05f31dba3f /src/benchmark-tls.c | |
parent | 1761cea76470891775f938c7c1ae39464b2f7010 (diff) | |
download | gnutls-aee995c12dac0cef7ed5972613cdf537e0be04a9.tar.gz |
renamed HAVE_UMAC -> HAVE_NETTLE27
Diffstat (limited to 'src/benchmark-tls.c')
-rw-r--r-- | src/benchmark-tls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/benchmark-tls.c b/src/benchmark-tls.c index 84bbb87e26..5acf505527 100644 --- a/src/benchmark-tls.c +++ b/src/benchmark-tls.c @@ -440,20 +440,24 @@ 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); |