public class MPIN256
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BAD_PARAMS |
static int |
BAD_PIN |
static int |
EFS |
static int |
EGS |
static int |
INVALID_POINT |
static int |
MAXPIN |
static int |
PBLEN |
static int |
TRAP |
static int |
TS |
static int |
WRONG_ORDER |
| Constructor and Description |
|---|
MPIN256() |
| Modifier and Type | Method and Description |
|---|---|
static int |
CLIENT_1(int sha,
int date,
byte[] CLIENT_ID,
RAND rng,
byte[] X,
int pin,
byte[] TOKEN,
byte[] SEC,
byte[] xID,
byte[] xCID,
byte[] PERMIT) |
static int |
CLIENT_2(byte[] X,
byte[] Y,
byte[] SEC) |
static int |
CLIENT_KEY(int sha,
byte[] G1,
byte[] G2,
int pin,
byte[] R,
byte[] X,
byte[] H,
byte[] wCID,
byte[] CK) |
static int |
CLIENT(int sha,
int date,
byte[] CLIENT_ID,
RAND RNG,
byte[] X,
int pin,
byte[] TOKEN,
byte[] SEC,
byte[] xID,
byte[] xCID,
byte[] PERMIT,
int TimeValue,
byte[] Y) |
static int |
DECODING(byte[] D) |
static int |
ENCODING(RAND rng,
byte[] E) |
static int |
EXTRACT_PIN(int sha,
byte[] CID,
int pin,
byte[] TOKEN) |
static int |
GET_CLIENT_PERMIT(int sha,
int date,
byte[] S,
byte[] CID,
byte[] CTT) |
static int |
GET_CLIENT_SECRET(byte[] S,
byte[] CID,
byte[] CST) |
static int |
GET_G1_MULTIPLE(RAND rng,
int type,
byte[] X,
byte[] G,
byte[] W) |
static int |
GET_SERVER_SECRET(byte[] S,
byte[] SST) |
static int |
GET_TIME() |
static void |
GET_Y(int sha,
int TimeValue,
byte[] xCID,
byte[] Y) |
static byte[] |
HASH_ALL(int sha,
byte[] HID,
byte[] xID,
byte[] xCID,
byte[] SEC,
byte[] Y,
byte[] R,
byte[] W,
int len) |
static byte[] |
HASH_ID(int sha,
byte[] ID,
int len) |
static byte[] |
hashit(int sha,
int n,
byte[] B,
int len) |
static int |
KANGAROO(byte[] E,
byte[] F) |
static ECP |
map(BIG u,
int cb) |
static byte[] |
mpin_hash(int sha,
FP16 c,
ECP U) |
static int |
PRECOMPUTE(byte[] TOKEN,
byte[] CID,
byte[] G1,
byte[] G2) |
static int |
RANDOM_GENERATE(RAND rng,
byte[] S) |
static int |
RECOMBINE_G1(byte[] R1,
byte[] R2,
byte[] R) |
static int |
RECOMBINE_G2(byte[] W1,
byte[] W2,
byte[] W) |
static void |
SERVER_1(int sha,
int date,
byte[] CID,
byte[] HID,
byte[] HTID) |
static int |
SERVER_2(int date,
byte[] HID,
byte[] HTID,
byte[] Y,
byte[] SST,
byte[] xID,
byte[] xCID,
byte[] mSEC,
byte[] E,
byte[] F) |
static int |
SERVER_KEY(int sha,
byte[] Z,
byte[] SST,
byte[] W,
byte[] H,
byte[] HID,
byte[] xID,
byte[] xCID,
byte[] SK) |
static int |
SERVER(int sha,
int date,
byte[] HID,
byte[] HTID,
byte[] Y,
byte[] SST,
byte[] xID,
byte[] xCID,
byte[] SEC,
byte[] E,
byte[] F,
byte[] CID,
int TimeValue) |
static int |
today() |
static int |
unmap(BIG u,
ECP P) |
public static final int EFS
public static final int EGS
public static final int INVALID_POINT
public static final int BAD_PARAMS
public static final int WRONG_ORDER
public static final int BAD_PIN
public static final int MAXPIN
public static final int PBLEN
public static final int TS
public static final int TRAP
public static byte[] hashit(int sha,
int n,
byte[] B,
int len)
public static int today()
public static byte[] HASH_ID(int sha,
byte[] ID,
int len)
public static byte[] HASH_ALL(int sha,
byte[] HID,
byte[] xID,
byte[] xCID,
byte[] SEC,
byte[] Y,
byte[] R,
byte[] W,
int len)
public static int GET_TIME()
public static int ENCODING(RAND rng, byte[] E)
public static int DECODING(byte[] D)
public static int RECOMBINE_G1(byte[] R1,
byte[] R2,
byte[] R)
public static int RECOMBINE_G2(byte[] W1,
byte[] W2,
byte[] W)
public static int RANDOM_GENERATE(RAND rng, byte[] S)
public static int EXTRACT_PIN(int sha,
byte[] CID,
int pin,
byte[] TOKEN)
public static int CLIENT_2(byte[] X,
byte[] Y,
byte[] SEC)
public static int CLIENT_1(int sha,
int date,
byte[] CLIENT_ID,
RAND rng,
byte[] X,
int pin,
byte[] TOKEN,
byte[] SEC,
byte[] xID,
byte[] xCID,
byte[] PERMIT)
public static int GET_SERVER_SECRET(byte[] S,
byte[] SST)
public static int GET_G1_MULTIPLE(RAND rng, int type, byte[] X, byte[] G, byte[] W)
public static int GET_CLIENT_SECRET(byte[] S,
byte[] CID,
byte[] CST)
public static int GET_CLIENT_PERMIT(int sha,
int date,
byte[] S,
byte[] CID,
byte[] CTT)
public static void SERVER_1(int sha,
int date,
byte[] CID,
byte[] HID,
byte[] HTID)
public static int SERVER_2(int date,
byte[] HID,
byte[] HTID,
byte[] Y,
byte[] SST,
byte[] xID,
byte[] xCID,
byte[] mSEC,
byte[] E,
byte[] F)
public static int KANGAROO(byte[] E,
byte[] F)
public static int PRECOMPUTE(byte[] TOKEN,
byte[] CID,
byte[] G1,
byte[] G2)
public static int CLIENT_KEY(int sha,
byte[] G1,
byte[] G2,
int pin,
byte[] R,
byte[] X,
byte[] H,
byte[] wCID,
byte[] CK)
public static int SERVER_KEY(int sha,
byte[] Z,
byte[] SST,
byte[] W,
byte[] H,
byte[] HID,
byte[] xID,
byte[] xCID,
byte[] SK)
public static void GET_Y(int sha,
int TimeValue,
byte[] xCID,
byte[] Y)
public static int CLIENT(int sha,
int date,
byte[] CLIENT_ID,
RAND RNG,
byte[] X,
int pin,
byte[] TOKEN,
byte[] SEC,
byte[] xID,
byte[] xCID,
byte[] PERMIT,
int TimeValue,
byte[] Y)
public static int SERVER(int sha,
int date,
byte[] HID,
byte[] HTID,
byte[] Y,
byte[] SST,
byte[] xID,
byte[] xCID,
byte[] SEC,
byte[] E,
byte[] F,
byte[] CID,
int TimeValue)