From 07b76969371811aa4de54e93c47722ad19dd6f3e Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 18 Nov 2013 10:46:16 -0800 Subject: [PATCH] Update 'DJB' type not to conlict with NIST type 0x04. --- library/src/org/whispersystems/textsecure/crypto/ecc/Curve.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/org/whispersystems/textsecure/crypto/ecc/Curve.java b/library/src/org/whispersystems/textsecure/crypto/ecc/Curve.java index 763c9e4efd..9cd221335f 100644 --- a/library/src/org/whispersystems/textsecure/crypto/ecc/Curve.java +++ b/library/src/org/whispersystems/textsecure/crypto/ecc/Curve.java @@ -23,7 +23,7 @@ public class Curve { public static final int NIST_TYPE = 0x02; private static final int NIST_TYPE2 = 0x03; - public static final int DJB_TYPE = 0x04; + public static final int DJB_TYPE = 0x05; public static ECKeyPair generateKeyPairForType(int keyType) { if (keyType == DJB_TYPE) {