diff options
Diffstat (limited to 'src/util/test_crypto_cs.c')
-rw-r--r-- | src/util/test_crypto_cs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_crypto_cs.c b/src/util/test_crypto_cs.c index 914ded9bc..a56ff7421 100644 --- a/src/util/test_crypto_cs.c +++ b/src/util/test_crypto_cs.c | |||
@@ -241,7 +241,7 @@ test_calc_blindedc (const struct GNUNET_CRYPTO_CsBlindingSecret bs[2], | |||
241 | 241 | ||
242 | /* TEST 2 | 242 | /* TEST 2 |
243 | * Check if R' - aG -bX = R for b = 0 | 243 | * Check if R' - aG -bX = R for b = 0 |
244 | * This test does the opposite operations and checks wether the equation is still correct. | 244 | * This test does the opposite operations and checks whether the equation is still correct. |
245 | */ | 245 | */ |
246 | for (unsigned int b = 0; b <= 1; b++) | 246 | for (unsigned int b = 0; b <= 1; b++) |
247 | { | 247 | { |
@@ -338,7 +338,7 @@ test_blind_sign (unsigned int *b, | |||
338 | 338 | ||
339 | /* TEST 2 | 339 | /* TEST 2 |
340 | * Check if s := rb + cbX | 340 | * Check if s := rb + cbX |
341 | * This test does the opposite operations and checks wether the equation is still correct. | 341 | * This test does the opposite operations and checks whether the equation is still correct. |
342 | */ | 342 | */ |
343 | struct GNUNET_CRYPTO_Cs25519Scalar cb_mul_x; | 343 | struct GNUNET_CRYPTO_Cs25519Scalar cb_mul_x; |
344 | struct GNUNET_CRYPTO_Cs25519Scalar s_min_rb; | 344 | struct GNUNET_CRYPTO_Cs25519Scalar s_min_rb; |
@@ -393,7 +393,7 @@ test_unblinds (const struct GNUNET_CRYPTO_CsBlindS *blinded_signature_scalar, | |||
393 | 393 | ||
394 | /* TEST 2 | 394 | /* TEST 2 |
395 | * Check if s' := s + a mod p | 395 | * Check if s' := s + a mod p |
396 | * This test does the opposite operations and checks wether the equation is still correct. | 396 | * This test does the opposite operations and checks whether the equation is still correct. |
397 | */ | 397 | */ |
398 | struct GNUNET_CRYPTO_Cs25519Scalar s_min_a; | 398 | struct GNUNET_CRYPTO_Cs25519Scalar s_min_a; |
399 | 399 | ||