public final class HPKE
extends java.lang.Object
| Constructor and Description |
|---|
HPKE() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
authDecap(int config_id,
byte[] skR,
byte[] pkE,
byte[] pkR,
byte[] pkS) |
static byte[] |
authEncap(int config_id,
byte[] skE,
byte[] skS,
byte[] pkE,
byte[] pkR,
byte[] pkS) |
static byte[] |
decap(int config_id,
byte[] skR,
byte[] pkE,
byte[] pkR) |
static boolean |
DeriveKeyPair(int config_id,
byte[] SK,
byte[] PK,
byte[] SEED) |
static byte[] |
encap(int config_id,
byte[] skE,
byte[] pkE,
byte[] pkR) |
static void |
keySchedule(int config_id,
byte[] key,
byte[] nonce,
byte[] exp_secret,
int mode,
byte[] Z,
byte[] info,
byte[] psk,
byte[] pskID) |
public static boolean DeriveKeyPair(int config_id,
byte[] SK,
byte[] PK,
byte[] SEED)
public static byte[] encap(int config_id,
byte[] skE,
byte[] pkE,
byte[] pkR)
public static byte[] decap(int config_id,
byte[] skR,
byte[] pkE,
byte[] pkR)
public static byte[] authEncap(int config_id,
byte[] skE,
byte[] skS,
byte[] pkE,
byte[] pkR,
byte[] pkS)
public static byte[] authDecap(int config_id,
byte[] skR,
byte[] pkE,
byte[] pkR,
byte[] pkS)
public static void keySchedule(int config_id,
byte[] key,
byte[] nonce,
byte[] exp_secret,
int mode,
byte[] Z,
byte[] info,
byte[] psk,
byte[] pskID)