aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compat/sodium/sodium_25519.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-10-25 06:23:30 -0400
committerJack Lloyd <[email protected]>2019-10-25 06:24:54 -0400
commit04de89411689d2d3006e85e3161e7d6855f4f335 (patch)
tree4b05f8c1928d411a4f02e3e951f88efe4eca7b83 /src/lib/compat/sodium/sodium_25519.cpp
parent807518071555287f651586f37b7cf68df3358bae (diff)
Fix various Doxygen warnings
Some due to missing comments, others due to various misparsing of the code.
Diffstat (limited to 'src/lib/compat/sodium/sodium_25519.cpp')
-rw-r--r--src/lib/compat/sodium/sodium_25519.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/compat/sodium/sodium_25519.cpp b/src/lib/compat/sodium/sodium_25519.cpp
index e8cce34e5..e1e44b9ad 100644
--- a/src/lib/compat/sodium/sodium_25519.cpp
+++ b/src/lib/compat/sodium/sodium_25519.cpp
@@ -34,7 +34,7 @@ int Sodium::crypto_sign_ed25519_detached(uint8_t sig[],
return 0;
}
-int Sodium::crypto_sign_ed25519_verify_detached(const uint8_t sig[64],
+int Sodium::crypto_sign_ed25519_verify_detached(const uint8_t sig[],
const uint8_t msg[],
size_t msg_len,
const uint8_t pk[32])
@@ -50,8 +50,8 @@ int Sodium::crypto_sign_ed25519_keypair(uint8_t pk[32], uint8_t sk[64])
return crypto_sign_ed25519_seed_keypair(pk, sk, seed.data());
}
-int Sodium::crypto_sign_ed25519_seed_keypair(uint8_t pk[32], uint8_t sk[64],
- const uint8_t seed[32])
+int Sodium::crypto_sign_ed25519_seed_keypair(uint8_t pk[], uint8_t sk[],
+ const uint8_t seed[])
{
ed25519_gen_keypair(pk, sk, seed);
return 0;