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:
@@ -233,6 +233,11 @@ public abstract class AbstractSECP256 implements SignatureAlgorithm {
|
||||
return PROVIDER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ECDomainParameters getCurve() {
|
||||
return curve;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets K calculator.
|
||||
*
|
||||
|
||||
@@ -20,6 +20,7 @@ import java.util.function.UnaryOperator;
|
||||
|
||||
import org.apache.tuweni.bytes.Bytes;
|
||||
import org.apache.tuweni.bytes.Bytes32;
|
||||
import org.bouncycastle.crypto.params.ECDomainParameters;
|
||||
import org.bouncycastle.math.ec.ECPoint;
|
||||
|
||||
/** The interface Signature algorithm. */
|
||||
@@ -124,6 +125,13 @@ public interface SignatureAlgorithm {
|
||||
*/
|
||||
String getCurveName();
|
||||
|
||||
/**
|
||||
* Bouncy castle ECDomainParameters representing the curve.
|
||||
*
|
||||
* @return instance of ECDomainParameters
|
||||
*/
|
||||
ECDomainParameters getCurve();
|
||||
|
||||
/**
|
||||
* Create secp private key.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user