CustomNamedCurves$3.smali
.class final Lorg/spongycastle/crypto/ec/CustomNamedCurves$3;
.super Lorg/spongycastle/asn1/x9/X9ECParametersHolder;
.source "CustomNamedCurves.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/spongycastle/crypto/ec/CustomNamedCurves;
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.prologue
.line 109
invoke-direct {p0}, Lorg/spongycastle/asn1/x9/X9ECParametersHolder;-><init>()V
return-void
.end method
# virtual methods
.method protected final createParameters()Lorg/spongycastle/asn1/x9/X9ECParameters;
.registers 11
.prologue
const/4 v6, 0x2
const/4 v9, 0x1
const/4 v7, 0x0
const/16 v8, 0x10
.line 113
new-instance v0, Lorg/spongycastle/math/ec/endo/GLVTypeBParameters;
new-instance v1, Ljava/math/BigInteger;
const-string v2, "9ba48cba5ebcb9b6bd33b92830b2a2e0e192f10a"
invoke-direct {v1, v2, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
new-instance v2, Ljava/math/BigInteger;
const-string v3, "c39c6c3b3a36d7701b9c71a1f5804ae5d0003f4"
invoke-direct {v2, v3, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
new-array v3, v6, [Ljava/math/BigInteger;
new-instance v4, Ljava/math/BigInteger;
const-string v5, "9162fbe73984472a0a9e"
invoke-direct {v4, v5, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
aput-object v4, v3, v7
new-instance v4, Ljava/math/BigInteger;
const-string v5, "-96341f1138933bc2f505"
invoke-direct {v4, v5, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
aput-object v4, v3, v9
new-array v4, v6, [Ljava/math/BigInteger;
new-instance v5, Ljava/math/BigInteger;
const-string v6, "127971af8721782ecffa3"
invoke-direct {v5, v6, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
aput-object v5, v4, v7
new-instance v5, Ljava/math/BigInteger;
const-string v6, "9162fbe73984472a0a9e"
invoke-direct {v5, v6, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
aput-object v5, v4, v9
new-instance v5, Ljava/math/BigInteger;
const-string v6, "9162fbe73984472a0a9d0590"
invoke-direct {v5, v6, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
new-instance v6, Ljava/math/BigInteger;
const-string v7, "96341f1138933bc2f503fd44"
invoke-direct {v6, v7, v8}, Ljava/math/BigInteger;-><init>(Ljava/lang/String;I)V
const/16 v7, 0xb0
invoke-direct/range {v0 .. v7}, Lorg/spongycastle/math/ec/endo/GLVTypeBParameters;-><init>(Ljava/math/BigInteger;Ljava/math/BigInteger;[Ljava/math/BigInteger;[Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
.line 125
new-instance v1, Lorg/spongycastle/math/ec/custom/sec/SecP160K1Curve;
invoke-direct {v1}, Lorg/spongycastle/math/ec/custom/sec/SecP160K1Curve;-><init>()V
# invokes: Lorg/spongycastle/crypto/ec/CustomNamedCurves;->configureCurveGLV(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/endo/GLVTypeBParameters;)Lorg/spongycastle/math/ec/ECCurve;
invoke-static {v1, v0}, Lorg/spongycastle/crypto/ec/CustomNamedCurves;->access$100(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/endo/GLVTypeBParameters;)Lorg/spongycastle/math/ec/ECCurve;
move-result-object v1
.line 126
new-instance v2, Lorg/spongycastle/asn1/x9/X9ECPoint;
const-string v0, "043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE"
invoke-static {v0}, Lorg/spongycastle/util/encoders/Hex;->decode(Ljava/lang/String;)[B
move-result-object v0
invoke-direct {v2, v1, v0}, Lorg/spongycastle/asn1/x9/X9ECPoint;-><init>(Lorg/spongycastle/math/ec/ECCurve;[B)V
.line 129
new-instance v0, Lorg/spongycastle/asn1/x9/X9ECParameters;
invoke-virtual {v1}, Lorg/spongycastle/math/ec/ECCurve;->getOrder()Ljava/math/BigInteger;
move-result-object v3
invoke-virtual {v1}, Lorg/spongycastle/math/ec/ECCurve;->getCofactor()Ljava/math/BigInteger;
move-result-object v4
const/4 v5, 0x0
invoke-direct/range {v0 .. v5}, Lorg/spongycastle/asn1/x9/X9ECParameters;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/asn1/x9/X9ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V
return-object v0
.end method