Top Fields Constructors Methods
org.bouncycastle.math.ec.rfc7748

public abstract Class X448

extends Object
Class Inheritance
Imports
java.security.SecureRandom, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
public static final int
private static int[]
private static final int[]
private static final int[]
public static final int

Constructor Summary

AccessConstructor and Description
public
X448()

Method Summary

Modifier and TypeMethod and Description
public static boolean
calculateAgreement(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff)

private static int
decode32(byte[] bs, int off)

private static void
decodeScalar(byte[] k, int kOff, int[] n)

public static void
generatePrivateKey(SecureRandom random, byte[] k)

private static void
pointDouble(int[] x, int[] z)

public static synchronized void
public static void
scalarMult(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff)

public static void
scalarMultBase(byte[] k, int kOff, byte[] r, int rOff)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

C_Aback to summary
private static final int C_A
C_A24back to summary
private static final int C_A24
POINT_SIZEback to summary
public static final int POINT_SIZE
precompBaseback to summary
private static int[] precompBase
PsubS_xback to summary
private static final int[] PsubS_x
S_xback to summary
private static final int[] S_x
SCALAR_SIZEback to summary
public static final int SCALAR_SIZE

Constructor Detail

X448back to summary
public X448()

Method Detail

calculateAgreementback to summary
public static boolean calculateAgreement(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff)
decode32back to summary
private static int decode32(byte[] bs, int off)
decodeScalarback to summary
private static void decodeScalar(byte[] k, int kOff, int[] n)
generatePrivateKeyback to summary
public static void generatePrivateKey(SecureRandom random, byte[] k)
pointDoubleback to summary
private static void pointDouble(int[] x, int[] z)
precomputeback to summary
public static synchronized void precompute()
scalarMultback to summary
public static void scalarMult(byte[] k, int kOff, byte[] u, int uOff, byte[] r, int rOff)
scalarMultBaseback to summary
public static void scalarMultBase(byte[] k, int kOff, byte[] r, int rOff)