aboutsummaryrefslogtreecommitdiff
path: root/src/applets/EC_Consts.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/applets/EC_Consts.java')
-rw-r--r--src/applets/EC_Consts.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/applets/EC_Consts.java b/src/applets/EC_Consts.java
index b7128dc..3758f0b 100644
--- a/src/applets/EC_Consts.java
+++ b/src/applets/EC_Consts.java
@@ -485,14 +485,15 @@ public class EC_Consts {
(byte) 0x91, (byte) 0x38, (byte) 0x64, (byte) 0x09};
// cofactor of G
- public static final short EC521_FP_K = 1;
+ public static final short EC521_FP_K = 1;
+
+
public static final byte VALID_KEY = 1;
public static final byte INVALIDB_FIXED = 2;
public static final byte INVALIDB_RANDOM = 3;
-
-
+
public static void setValidECKeyParams(ECPublicKey ecPubKey, ECPrivateKey ecPrivKey, byte ecClass, short ecLength, byte[] auxBuffer) {
setECKeyParams(ecPubKey, ecPrivKey, ecClass, ecLength, auxBuffer, VALID_KEY);
}