public class curve_sigs
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_MSG_LEN |
| Constructor and Description |
|---|
curve_sigs() |
| Modifier and Type | Method and Description |
|---|---|
static void |
curve25519_keygen(byte[] curve25519_pubkey_out,
byte[] curve25519_privkey_in) |
static int |
curve25519_sign(Sha512 sha512provider,
byte[] signature_out,
byte[] curve25519_privkey,
byte[] msg,
long msg_len,
byte[] random) |
static int |
curve25519_verify(Sha512 sha512provider,
byte[] signature,
byte[] curve25519_pubkey,
byte[] msg,
long msg_len) |
public static void curve25519_keygen(byte[] curve25519_pubkey_out,
byte[] curve25519_privkey_in)
public static int curve25519_sign(Sha512 sha512provider, byte[] signature_out, byte[] curve25519_privkey, byte[] msg, long msg_len, byte[] random)
public static int curve25519_verify(Sha512 sha512provider, byte[] signature, byte[] curve25519_pubkey, byte[] msg, long msg_len)