public abstract class Ed448
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Ed448.Algorithm |
Modifier and Type | Field and Description |
---|---|
static int |
PREHASH_SIZE |
static int |
PUBLIC_KEY_SIZE |
static int |
SECRET_KEY_SIZE |
static int |
SIGNATURE_SIZE |
Constructor and Description |
---|
Ed448() |
Modifier and Type | Method and Description |
---|---|
static Xof |
createPrehash() |
static void |
generatePrivateKey(java.security.SecureRandom random,
byte[] k) |
static void |
generatePublicKey(byte[] sk,
int skOff,
byte[] pk,
int pkOff) |
static void |
precompute() |
static void |
scalarMultBaseXY(X448.Friend friend,
byte[] k,
int kOff,
int[] x,
int[] y)
NOTE: Only for use by X448
|
static void |
sign(byte[] sk,
int skOff,
byte[] ctx,
byte[] m,
int mOff,
int mLen,
byte[] sig,
int sigOff) |
static void |
sign(byte[] sk,
int skOff,
byte[] pk,
int pkOff,
byte[] ctx,
byte[] m,
int mOff,
int mLen,
byte[] sig,
int sigOff) |
static void |
signPrehash(byte[] sk,
int skOff,
byte[] ctx,
byte[] ph,
int phOff,
byte[] sig,
int sigOff) |
static void |
signPrehash(byte[] sk,
int skOff,
byte[] pk,
int pkOff,
byte[] ctx,
byte[] ph,
int phOff,
byte[] sig,
int sigOff) |
static void |
signPrehash(byte[] sk,
int skOff,
byte[] pk,
int pkOff,
byte[] ctx,
Xof ph,
byte[] sig,
int sigOff) |
static void |
signPrehash(byte[] sk,
int skOff,
byte[] ctx,
Xof ph,
byte[] sig,
int sigOff) |
static boolean |
verify(byte[] sig,
int sigOff,
byte[] pk,
int pkOff,
byte[] ctx,
byte[] m,
int mOff,
int mLen) |
static boolean |
verifyPrehash(byte[] sig,
int sigOff,
byte[] pk,
int pkOff,
byte[] ctx,
byte[] ph,
int phOff) |
static boolean |
verifyPrehash(byte[] sig,
int sigOff,
byte[] pk,
int pkOff,
byte[] ctx,
Xof ph) |
public static final int PREHASH_SIZE
public static final int PUBLIC_KEY_SIZE
public static final int SECRET_KEY_SIZE
public static final int SIGNATURE_SIZE
public static Xof createPrehash()
public static void generatePrivateKey(java.security.SecureRandom random, byte[] k)
public static void generatePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff)
public static void precompute()
public static void scalarMultBaseXY(X448.Friend friend, byte[] k, int kOff, int[] x, int[] y)
public static void sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
public static void sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
public static void signPrehash(byte[] sk, int skOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
public static void signPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
public static void signPrehash(byte[] sk, int skOff, byte[] ctx, Xof ph, byte[] sig, int sigOff)
public static void signPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, Xof ph, byte[] sig, int sigOff)
public static boolean verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen)
public static boolean verifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff)
public static boolean verifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, Xof ph)