javacard applet can only define 1 package. JCMathLib has been integrated

in the main package
This commit is contained in:
Michele Balistreri 2017-10-12 13:39:04 +03:00
parent 48f1905cee
commit 84d56c95cd
9 changed files with 8 additions and 11 deletions

View File

@ -1,7 +1,7 @@
/**
* Credits: Based on Bignat library from OV-chip project https://ovchip.cs.ru.nl/OV-chip_2.0 by Radboud University Nijmegen
*/
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.ISOException;
import javacard.framework.JCSystem;

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.JCSystem;
import javacard.framework.Util;

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.ISOException;

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.Util;
import javacard.security.ECPrivateKey;

View File

@ -4,9 +4,6 @@ import javacard.security.CryptoException;
import javacard.security.ECKey;
import javacard.security.ECPrivateKey;
import javacard.security.KeyAgreement;
import opencrypto.jcmathlib.ECConfig;
import opencrypto.jcmathlib.ECCurve;
import opencrypto.jcmathlib.ECPoint;
public class ECCurves {
static final byte SECP256K1_FP[] = {

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.ISOException;
import javacard.framework.Util;

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.Util;
import javacard.security.KeyAgreement;

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
import javacard.framework.ISOException;
import javacard.framework.JCSystem;

View File

@ -1,4 +1,4 @@
package opencrypto.jcmathlib;
package im.status.wallet;
/**
*