mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-12 11:27:49 +00:00
Update 'DJB' type not to conlict with NIST type 0x04.
This commit is contained in:
@@ -23,7 +23,7 @@ public class Curve {
|
|||||||
|
|
||||||
public static final int NIST_TYPE = 0x02;
|
public static final int NIST_TYPE = 0x02;
|
||||||
private static final int NIST_TYPE2 = 0x03;
|
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) {
|
public static ECKeyPair generateKeyPairForType(int keyType) {
|
||||||
if (keyType == DJB_TYPE) {
|
if (keyType == DJB_TYPE) {
|
||||||
|
Reference in New Issue
Block a user