diff --git a/libaxolotl/src/main/java/org/whispersystems/libaxolotl/ecc/Curve25519.java b/libaxolotl/src/main/java/org/whispersystems/libaxolotl/ecc/Curve25519.java index 6f5d610fd7..685a4a11c8 100644 --- a/libaxolotl/src/main/java/org/whispersystems/libaxolotl/ecc/Curve25519.java +++ b/libaxolotl/src/main/java/org/whispersystems/libaxolotl/ecc/Curve25519.java @@ -55,7 +55,7 @@ public class Curve25519 { } static byte[] calculateSignature(ECPrivateKey privateKey, byte[] message) { - byte[] random = getRandom(32); + byte[] random = getRandom(64); return calculateSignature(random, ((DjbECPrivateKey)privateKey).getPrivateKey(), message); }