From 348ef69b79aff6063c014ed6b59dc0cd17c4ae1f Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 11 Oct 2017 21:45:39 +0200 Subject: [PATCH] sk is actually skpk, so use the right size in the prototype --- src/libsodium/crypto_sign/ed25519/ref10/sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_sign/ed25519/ref10/sign.c b/src/libsodium/crypto_sign/ed25519/ref10/sign.c index e97ca1bd..510b7c7a 100644 --- a/src/libsodium/crypto_sign/ed25519/ref10/sign.c +++ b/src/libsodium/crypto_sign/ed25519/ref10/sign.c @@ -37,7 +37,7 @@ _crypto_sign_ed25519_clamp(unsigned char k[32]) static void _crypto_sign_ed25519_synthetic_r_hv(crypto_hash_sha512_state *hs, unsigned char Z[32], - const unsigned char sk[32]) + const unsigned char sk[64]) { static const unsigned char B[32] = { 0x58, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66,