summaryrefslogtreecommitdiff
path: root/src/benchmark-tls.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-19 08:52:14 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-19 08:52:14 +0100
commite18d7dc67028f0717767ca8497bb25e78ff493c9 (patch)
tree800c75f3f4b5b4b065b1e10ccc48b00d95532a37 /src/benchmark-tls.c
parent8de5abe9a6960ada271d6a6c95c25f38e83c32c7 (diff)
downloadgnutls-e18d7dc67028f0717767ca8497bb25e78ff493c9.tar.gz
Salsa20R20 -> Salsa20
Diffstat (limited to 'src/benchmark-tls.c')
-rw-r--r--src/benchmark-tls.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/benchmark-tls.c b/src/benchmark-tls.c
index f3ef0cd486..0fef86b13a 100644
--- a/src/benchmark-tls.c
+++ b/src/benchmark-tls.c
@@ -49,13 +49,13 @@ const char* side = "";
#define PRIO_RSA "NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
#define PRIO_ARCFOUR_128_SHA1 "NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
-#define PRIO_SALSA20R20_256_UMAC_96 "NONE:+VERS-TLS1.0:+SALSA20R20-256:+UMAC-96:+SIGN-ALL:+COMP-NULL:+RSA"
+#define PRIO_SALSA20_256_UMAC_96 "NONE:+VERS-TLS1.0:+SALSA20-256:+UMAC-96:+SIGN-ALL:+COMP-NULL:+RSA"
#define PRIO_AES_CBC_SHA1 "NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
#define PRIO_ARCFOUR_128_MD5 "NONE:+VERS-TLS1.0:+ARCFOUR-128:+MD5:+SIGN-ALL:+COMP-NULL:+RSA"
#define PRIO_AES_GCM "NONE:+VERS-TLS1.2:+AES-128-GCM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA"
#define PRIO_CAMELLIA_CBC_SHA1 "NONE:+VERS-TLS1.0:+CAMELLIA-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
-#define PRIO_SALSA20R20_256_SHA1 "NONE:+VERS-TLS1.0:+SALSA20R20-256:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
+#define PRIO_SALSA20_256_SHA1 "NONE:+VERS-TLS1.0:+SALSA20-256:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
static const int rsa_bits = 1776, ec_bits = 192;
@@ -438,16 +438,16 @@ void benchmark_tls(int debug_level, int ciphers)
{
printf("Testing throughput in cipher/MAC combinations:\n\n");
- test_ciphersuite(PRIO_SALSA20R20_256_UMAC_96, 1400);
- test_ciphersuite(PRIO_SALSA20R20_256_SHA1, 1400);
+ test_ciphersuite(PRIO_SALSA20_256_UMAC_96, 1400);
+ test_ciphersuite(PRIO_SALSA20_256_SHA1, 1400);
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);
- test_ciphersuite(PRIO_SALSA20R20_256_UMAC_96, 15 * 1024);
- test_ciphersuite(PRIO_SALSA20R20_256_SHA1, 15*1024);
+ test_ciphersuite(PRIO_SALSA20_256_UMAC_96, 15 * 1024);
+ test_ciphersuite(PRIO_SALSA20_256_SHA1, 15*1024);
test_ciphersuite(PRIO_ARCFOUR_128_SHA1, 15 * 1024);
test_ciphersuite(PRIO_ARCFOUR_128_MD5, 15 * 1024);
test_ciphersuite(PRIO_AES_GCM, 15 * 1024);