Package | Description |
---|---|
com.tinfoilsms.crypto | |
org.spongycastle.asn1.x9 |
Support classes useful for encoding and supporting X9.62 elliptic curve.
|
org.spongycastle.crypto.agreement |
Basic key agreement classes.
|
org.spongycastle.crypto.params |
Classes for parameter objects for ciphers and generators.
|
org.spongycastle.jcajce.provider.asymmetric.ec | |
org.spongycastle.jce.interfaces |
Interfaces for supporting Elliptic Curve Keys, El Gamal, and PKCS12 attributes.
|
org.spongycastle.jce.spec |
Parameter specifications for supporting El Gamal, and Elliptic Curve.
|
org.spongycastle.math.ec |
Math support for Elliptic Curve.
|
Modifier and Type | Method and Description |
---|---|
ECPoint |
ECKeyParam.getG()
Wrapper for getG()
|
Modifier and Type | Field and Description |
---|---|
private ECPoint |
X9ECParameters.g |
(package private) ECPoint |
X9ECPoint.p |
Modifier and Type | Method and Description |
---|---|
ECPoint |
X9ECParameters.getG() |
ECPoint |
X9ECPoint.getPoint() |
Constructor and Description |
---|
X9ECParameters(ECCurve curve,
ECPoint g,
java.math.BigInteger n) |
X9ECParameters(ECCurve curve,
ECPoint g,
java.math.BigInteger n,
java.math.BigInteger h) |
X9ECParameters(ECCurve curve,
ECPoint g,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
X9ECPoint(ECPoint p) |
Modifier and Type | Method and Description |
---|---|
private ECPoint |
ECMQVBasicAgreement.calculateMqvAgreement(ECDomainParameters parameters,
ECPrivateKeyParameters d1U,
ECPrivateKeyParameters d2U,
ECPublicKeyParameters Q2U,
ECPublicKeyParameters Q1V,
ECPublicKeyParameters Q2V) |
Modifier and Type | Field and Description |
---|---|
(package private) ECPoint |
ECDomainParameters.G |
(package private) ECPoint |
ECPublicKeyParameters.Q |
Modifier and Type | Method and Description |
---|---|
ECPoint |
ECDomainParameters.getG() |
ECPoint |
ECPublicKeyParameters.getQ() |
Constructor and Description |
---|
ECDomainParameters(ECCurve curve,
ECPoint G,
java.math.BigInteger n) |
ECDomainParameters(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h) |
ECDomainParameters(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
ECPublicKeyParameters(ECPoint Q,
ECDomainParameters params) |
Modifier and Type | Field and Description |
---|---|
private ECPoint |
BCECPublicKey.q |
Modifier and Type | Method and Description |
---|---|
static ECPoint |
EC5Util.convertPoint(ECCurve curve,
java.security.spec.ECPoint point,
boolean withCompression) |
static ECPoint |
EC5Util.convertPoint(java.security.spec.ECParameterSpec ecSpec,
java.security.spec.ECPoint point,
boolean withCompression) |
ECPoint |
BCECPublicKey.engineGetQ() |
ECPoint |
BCECPublicKey.getQ() |
Modifier and Type | Method and Description |
---|---|
ECPoint |
ECPublicKey.getQ()
return the public point Q
|
Modifier and Type | Field and Description |
---|---|
private ECPoint |
ECParameterSpec.G |
private ECPoint |
ECPublicKeySpec.q |
Modifier and Type | Method and Description |
---|---|
ECPoint |
ECParameterSpec.getG()
return the base point we are using for these domain parameters.
|
ECPoint |
ECPublicKeySpec.getQ()
return the public point q
|
Modifier and Type | Method and Description |
---|---|
private static java.security.spec.ECPoint |
ECNamedCurveSpec.convertPoint(ECPoint g) |
Constructor and Description |
---|
ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n) |
ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h) |
ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
ECNamedCurveSpec(java.lang.String name,
ECCurve curve,
ECPoint g,
java.math.BigInteger n) |
ECNamedCurveSpec(java.lang.String name,
ECCurve curve,
ECPoint g,
java.math.BigInteger n,
java.math.BigInteger h) |
ECNamedCurveSpec(java.lang.String name,
ECCurve curve,
ECPoint g,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n) |
ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h) |
ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
ECPublicKeySpec(ECPoint q,
ECParameterSpec spec)
base constructor
|
Modifier and Type | Class and Description |
---|---|
static class |
ECPoint.F2m
Elliptic curve points over F2m
|
static class |
ECPoint.Fp
Elliptic curve points over Fp
|
Modifier and Type | Field and Description |
---|---|
private ECPoint[] |
WNafPreCompInfo.preComp
Array holding the precomputed
ECPoint s used for the Window
NAF multiplication in
. |
private ECPoint |
WNafPreCompInfo.twiceP
Holds an
ECPoint representing twice(this). |
Modifier and Type | Method and Description |
---|---|
abstract ECPoint |
ECPoint.add(ECPoint b) |
ECPoint |
ECPoint.Fp.add(ECPoint b) |
ECPoint |
ECPoint.F2m.add(ECPoint b) |
abstract ECPoint |
ECCurve.createPoint(java.math.BigInteger x,
java.math.BigInteger y,
boolean withCompression) |
ECPoint |
ECCurve.Fp.createPoint(java.math.BigInteger x,
java.math.BigInteger y,
boolean withCompression) |
ECPoint |
ECCurve.F2m.createPoint(java.math.BigInteger x,
java.math.BigInteger y,
boolean withCompression) |
abstract ECPoint |
ECCurve.decodePoint(byte[] encoded) |
ECPoint |
ECCurve.Fp.decodePoint(byte[] encoded)
Decode a point on this curve from its ASN.1 encoding.
|
ECPoint |
ECCurve.F2m.decodePoint(byte[] encoded) |
private ECPoint |
ECCurve.F2m.decompressPoint(byte[] xEnc,
int ypBit)
Decompresses a compressed point P = (xp, yp) (X9.62 s 4.2.2).
|
abstract ECPoint |
ECCurve.getInfinity() |
ECPoint |
ECCurve.Fp.getInfinity() |
ECPoint |
ECCurve.F2m.getInfinity() |
protected ECPoint[] |
WNafPreCompInfo.getPreComp() |
protected ECPoint |
WNafPreCompInfo.getTwiceP() |
private static ECPoint |
ECAlgorithms.implShamirsTrick(ECPoint P,
java.math.BigInteger k,
ECPoint Q,
java.math.BigInteger l) |
ECPoint |
ECPoint.multiply(java.math.BigInteger k)
Multiplies this
ECPoint by the given number. |
ECPoint |
FpNafMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
D.3.2 pg 101
|
ECPoint |
ECMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Multiplies the
ECPoint p by k , i.e. |
ECPoint |
WTauNafMultiplier.multiply(ECPoint point,
java.math.BigInteger k,
PreCompInfo preCompInfo)
|
ECPoint |
WNafMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Multiplies
this by an integer k using the
Window NAF method. |
ECPoint |
ReferenceMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Simple shift-and-add multiplication.
|
abstract ECPoint |
ECPoint.negate() |
ECPoint |
ECPoint.Fp.negate() |
ECPoint |
ECPoint.F2m.negate() |
static ECPoint |
ECAlgorithms.shamirsTrick(ECPoint P,
java.math.BigInteger k,
ECPoint Q,
java.math.BigInteger l) |
abstract ECPoint |
ECPoint.subtract(ECPoint b) |
ECPoint |
ECPoint.Fp.subtract(ECPoint b) |
ECPoint |
ECPoint.F2m.subtract(ECPoint b) |
static ECPoint |
ECAlgorithms.sumOfTwoMultiplies(ECPoint P,
java.math.BigInteger a,
ECPoint Q,
java.math.BigInteger b) |
abstract ECPoint |
ECPoint.twice() |
ECPoint |
ECPoint.Fp.twice() |
ECPoint |
ECPoint.F2m.twice() |
Modifier and Type | Method and Description |
---|---|
abstract ECPoint |
ECPoint.add(ECPoint b) |
ECPoint |
ECPoint.Fp.add(ECPoint b) |
ECPoint |
ECPoint.F2m.add(ECPoint b) |
private static void |
ECPoint.F2m.checkPoints(ECPoint a,
ECPoint b)
Check, if two
ECPoint s can be added or subtracted. |
private static ECPoint |
ECAlgorithms.implShamirsTrick(ECPoint P,
java.math.BigInteger k,
ECPoint Q,
java.math.BigInteger l) |
ECPoint |
FpNafMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
D.3.2 pg 101
|
ECPoint |
ECMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Multiplies the
ECPoint p by k , i.e. |
ECPoint |
WTauNafMultiplier.multiply(ECPoint point,
java.math.BigInteger k,
PreCompInfo preCompInfo)
|
ECPoint |
WNafMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Multiplies
this by an integer k using the
Window NAF method. |
ECPoint |
ReferenceMultiplier.multiply(ECPoint p,
java.math.BigInteger k,
PreCompInfo preCompInfo)
Simple shift-and-add multiplication.
|
protected void |
WNafPreCompInfo.setPreComp(ECPoint[] preComp) |
protected void |
WNafPreCompInfo.setTwiceP(ECPoint twiceThis) |
static ECPoint |
ECAlgorithms.shamirsTrick(ECPoint P,
java.math.BigInteger k,
ECPoint Q,
java.math.BigInteger l) |
abstract ECPoint |
ECPoint.subtract(ECPoint b) |
ECPoint |
ECPoint.Fp.subtract(ECPoint b) |
ECPoint |
ECPoint.F2m.subtract(ECPoint b) |
static ECPoint |
ECAlgorithms.sumOfTwoMultiplies(ECPoint P,
java.math.BigInteger a,
ECPoint Q,
java.math.BigInteger b) |