mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Update 'DJB' type not to conlict with NIST type 0x04.
This commit is contained in:
parent
c38a8aa699
commit
07b7696937
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user