diff options
Diffstat (limited to 'src/util/test_crypto_ecc.c')
-rw-r--r-- | src/util/test_crypto_ecc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util/test_crypto_ecc.c b/src/util/test_crypto_ecc.c index 1d58e9607..668f15761 100644 --- a/src/util/test_crypto_ecc.c +++ b/src/util/test_crypto_ecc.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2002, 2003, 2004, 2006, 2009 Christian Grothoff (and other contributing authors) | 3 | (C) 2002-2013 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -44,7 +44,7 @@ testSignVerify () | |||
44 | { | 44 | { |
45 | struct GNUNET_CRYPTO_EccSignature sig; | 45 | struct GNUNET_CRYPTO_EccSignature sig; |
46 | struct GNUNET_CRYPTO_EccSignaturePurpose purp; | 46 | struct GNUNET_CRYPTO_EccSignaturePurpose purp; |
47 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; | 47 | struct GNUNET_CRYPTO_EccPublicKey pkey; |
48 | int i; | 48 | int i; |
49 | struct GNUNET_TIME_Absolute start; | 49 | struct GNUNET_TIME_Absolute start; |
50 | int ok = GNUNET_OK; | 50 | int ok = GNUNET_OK; |
@@ -93,7 +93,7 @@ testSignPerformance () | |||
93 | { | 93 | { |
94 | struct GNUNET_CRYPTO_EccSignaturePurpose purp; | 94 | struct GNUNET_CRYPTO_EccSignaturePurpose purp; |
95 | struct GNUNET_CRYPTO_EccSignature sig; | 95 | struct GNUNET_CRYPTO_EccSignature sig; |
96 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; | 96 | struct GNUNET_CRYPTO_EccPublicKey pkey; |
97 | int i; | 97 | int i; |
98 | struct GNUNET_TIME_Absolute start; | 98 | struct GNUNET_TIME_Absolute start; |
99 | int ok = GNUNET_OK; | 99 | int ok = GNUNET_OK; |
@@ -124,8 +124,8 @@ testSignPerformance () | |||
124 | static int | 124 | static int |
125 | testCreateFromFile () | 125 | testCreateFromFile () |
126 | { | 126 | { |
127 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded p1; | 127 | struct GNUNET_CRYPTO_EccPublicKey p1; |
128 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded p2; | 128 | struct GNUNET_CRYPTO_EccPublicKey p2; |
129 | 129 | ||
130 | key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE); | 130 | key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE); |
131 | GNUNET_assert (NULL != key); | 131 | GNUNET_assert (NULL != key); |
@@ -150,8 +150,8 @@ test_ecdh () | |||
150 | { | 150 | { |
151 | struct GNUNET_CRYPTO_EccPrivateKey *priv1; | 151 | struct GNUNET_CRYPTO_EccPrivateKey *priv1; |
152 | struct GNUNET_CRYPTO_EccPrivateKey *priv2; | 152 | struct GNUNET_CRYPTO_EccPrivateKey *priv2; |
153 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pub1; | 153 | struct GNUNET_CRYPTO_EccPublicKey pub1; |
154 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pub2; | 154 | struct GNUNET_CRYPTO_EccPublicKey pub2; |
155 | struct GNUNET_HashCode ecdh1; | 155 | struct GNUNET_HashCode ecdh1; |
156 | struct GNUNET_HashCode ecdh2; | 156 | struct GNUNET_HashCode ecdh2; |
157 | 157 | ||