aboutsummaryrefslogtreecommitdiff
path: root/src/lib/util/crypto_elligator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/crypto_elligator.c')
-rw-r--r--src/lib/util/crypto_elligator.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/util/crypto_elligator.c b/src/lib/util/crypto_elligator.c
index 142c0782a..e512696a7 100644
--- a/src/lib/util/crypto_elligator.c
+++ b/src/lib/util/crypto_elligator.c
@@ -648,12 +648,9 @@ GNUNET_CRYPTO_ecdhe_elligator_generate_public_key_alternativ (unsigned char
648**/ 648**/
649 649
650enum GNUNET_GenericReturnValue 650enum GNUNET_GenericReturnValue
651GNUNET_CRYPTO_ecdhe_elligator_key_create (struct 651GNUNET_CRYPTO_ecdhe_elligator_key_create (
652 GNUNET_CRYPTO_ElligatorRepresentative 652 struct GNUNET_CRYPTO_ElligatorRepresentative *repr,
653 * 653 struct GNUNET_CRYPTO_EcdhePrivateKey *pk)
654 repr,
655 struct GNUNET_CRYPTO_EcdhePrivateKey
656 *pk)
657{ 654{
658 // inverse map can fail for some public keys generated by GNUNET_CRYPTO_ecdhe_elligator_generate_public_key 655 // inverse map can fail for some public keys generated by GNUNET_CRYPTO_ecdhe_elligator_generate_public_key
659 bool validKey = 0; 656 bool validKey = 0;
@@ -699,4 +696,4 @@ GNUNET_CRYPTO_ecdhe_elligator_key_create (struct
699 repr->r[31] |= 64; 696 repr->r[31] |= 64;
700 } 697 }
701 return GNUNET_OK; 698 return GNUNET_OK;
702} \ No newline at end of file 699}