mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-08 21:38:15 -05:00
Merge branch 'main' into zkbesu
This commit is contained in:
@@ -50,11 +50,13 @@ public abstract class AbstractSECP256 implements SignatureAlgorithm {
|
||||
|
||||
/** The Curve. */
|
||||
protected final ECDomainParameters curve;
|
||||
|
||||
/** The Half curve order. */
|
||||
protected final BigInteger halfCurveOrder;
|
||||
|
||||
/** The Key pair generator. */
|
||||
protected final KeyPairGenerator keyPairGenerator;
|
||||
|
||||
/** The Curve order. */
|
||||
protected final BigInteger curveOrder;
|
||||
|
||||
|
||||
@@ -30,10 +30,13 @@ public class MessageDigestFactory {
|
||||
|
||||
/** Keccak-256 */
|
||||
public static final String KECCAK256_ALG = "KECCAK-256";
|
||||
|
||||
/** SHA-256 */
|
||||
public static final String SHA256_ALG = "SHA-256";
|
||||
|
||||
/** RipeMD-160 */
|
||||
public static final String RIPEMD160_ALG = "RIPEMD160";
|
||||
|
||||
/** Blake2b F Function */
|
||||
public static final String BLAKE2BF_ALG = "BLAKE2BF";
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ public class SECPPrivateKey implements java.security.PrivateKey {
|
||||
|
||||
/** Encoded Bytes */
|
||||
private final Bytes32 encoded;
|
||||
|
||||
/** Algorithm */
|
||||
private final String algorithm;
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ public class SECPPublicKey implements java.security.PublicKey {
|
||||
|
||||
/** Encoded Bytes */
|
||||
private final Bytes encoded;
|
||||
|
||||
/** Algorithm */
|
||||
private final String algorithm;
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ public class SECPSignature {
|
||||
|
||||
/** The constant BYTES_REQUIRED. */
|
||||
public static final int BYTES_REQUIRED = 65;
|
||||
|
||||
/**
|
||||
* The recovery id to reconstruct the public key used to create the signature.
|
||||
*
|
||||
|
||||
@@ -32,8 +32,10 @@ public abstract class AbstractFqp<T extends AbstractFqp> implements FieldElement
|
||||
|
||||
/** The Degree. */
|
||||
protected final int degree;
|
||||
|
||||
/** The Modulus coefficients. */
|
||||
protected final Fq[] modulusCoefficients;
|
||||
|
||||
/** The Coefficients. */
|
||||
protected final Fq[] coefficients;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user