SecT571R1Curve.smali
.class public Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;
.super Lorg/spongycastle/math/ec/ECCurve$AbstractF2m;
.source "SecT571R1Curve.java"
# static fields
.field static final SecT571R1_B:Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
.field static final SecT571R1_B_SQRT:Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
.field private static final SecT571R1_DEFAULT_COORDS:I = 0x6
# instance fields
.field protected infinity:Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;
# direct methods
.method static constructor <clinit>()V
.registers 4
.prologue
.line 17
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
new-instance v1, Ljava/math/BigInteger;
const/4 v2, 0x1
const-string v3, "02F40E7E2221F295DE297117B7F3D62F5C6A97FFCB8CEFF1CD6BA8CE4A9A18AD84FFABBD8EFA59332BE7AD6756A66E294AFD185A78FF12AA520E4DE739BACA0C7FFEFF7F2955727A"
.line 18
invoke-static {v3}, Lorg/spongycastle/util/encoders/Hex;->decode(Ljava/lang/String;)[B
move-result-object v3
invoke-direct {v1, v2, v3}, Ljava/math/BigInteger;-><init>(I[B)V
invoke-direct {v0, v1}, Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;-><init>(Ljava/math/BigInteger;)V
.line 19
sput-object v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->SecT571R1_B:Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
invoke-virtual {v0}, Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;->sqrt()Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v0
check-cast v0, Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
sput-object v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->SecT571R1_B_SQRT:Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
return-void
.end method
.method public constructor <init>()V
.registers 6
.prologue
const/4 v4, 0x0
.line 23
const/16 v0, 0x23b
const/4 v1, 0x2
const/4 v2, 0x5
const/16 v3, 0xa
invoke-direct {p0, v0, v1, v2, v3}, Lorg/spongycastle/math/ec/ECCurve$AbstractF2m;-><init>(IIII)V
.line 25
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;
invoke-direct {v0, p0, v4, v4}, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;)V
iput-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->infinity:Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;
.line 27
const-wide/16 v0, 0x1
invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;
move-result-object v0
invoke-virtual {p0, v0}, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->fromBigInteger(Ljava/math/BigInteger;)Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v0
iput-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->a:Lorg/spongycastle/math/ec/ECFieldElement;
.line 28
sget-object v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->SecT571R1_B:Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
iput-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->b:Lorg/spongycastle/math/ec/ECFieldElement;
.line 29
new-instance v0, Ljava/math/BigInteger;
const/4 v1, 0x1
const-string v2, "03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE661CE18FF55987308059B186823851EC7DD9CA1161DE93D5174D66E8382E9BB2FE84E47"
invoke-static {v2}, Lorg/spongycastle/util/encoders/Hex;->decode(Ljava/lang/String;)[B
move-result-object v2
invoke-direct {v0, v1, v2}, Ljava/math/BigInteger;-><init>(I[B)V
iput-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->order:Ljava/math/BigInteger;
.line 30
const-wide/16 v0, 0x2
invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;
move-result-object v0
iput-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->cofactor:Ljava/math/BigInteger;
.line 32
const/4 v0, 0x6
iput v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->coord:I
.line 33
return-void
.end method
# virtual methods
.method protected cloneCurve()Lorg/spongycastle/math/ec/ECCurve;
.registers 2
.prologue
.line 37
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;
invoke-direct {v0}, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;-><init>()V
return-object v0
.end method
.method protected createRawPoint(Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;Z)Lorg/spongycastle/math/ec/ECPoint;
.registers 5
.prologue
.line 63
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;
invoke-direct {v0, p0, p1, p2, p3}, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;Z)V
return-object v0
.end method
.method protected createRawPoint(Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;Z)Lorg/spongycastle/math/ec/ECPoint;
.registers 11
.prologue
.line 68
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;
move-object v1, p0
move-object v2, p1
move-object v3, p2
move-object v4, p3
move v5, p4
invoke-direct/range {v0 .. v5}, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;Z)V
return-object v0
.end method
.method public fromBigInteger(Ljava/math/BigInteger;)Lorg/spongycastle/math/ec/ECFieldElement;
.registers 3
.prologue
.line 58
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;
invoke-direct {v0, p1}, Lorg/spongycastle/math/ec/custom/sec/SecT571FieldElement;-><init>(Ljava/math/BigInteger;)V
return-object v0
.end method
.method public getFieldSize()I
.registers 2
.prologue
.line 53
const/16 v0, 0x23b
return v0
.end method
.method public getInfinity()Lorg/spongycastle/math/ec/ECPoint;
.registers 2
.prologue
.line 73
iget-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecT571R1Curve;->infinity:Lorg/spongycastle/math/ec/custom/sec/SecT571R1Point;
return-object v0
.end method
.method public getK1()I
.registers 2
.prologue
.line 93
const/4 v0, 0x2
return v0
.end method
.method public getK2()I
.registers 2
.prologue
.line 98
const/4 v0, 0x5
return v0
.end method
.method public getK3()I
.registers 2
.prologue
.line 103
const/16 v0, 0xa
return v0
.end method
.method public getM()I
.registers 2
.prologue
.line 83
const/16 v0, 0x23b
return v0
.end method
.method public isKoblitz()Z
.registers 2
.prologue
.line 78
const/4 v0, 0x0
return v0
.end method
.method public isTrinomial()Z
.registers 2
.prologue
.line 88
const/4 v0, 0x0
return v0
.end method
.method public supportsCoordinateSystem(I)Z
.registers 3
.prologue
.line 42
packed-switch p1, :pswitch_data_8
.line 47
const/4 v0, 0x0
:goto_4
return v0
.line 45
:pswitch_5
const/4 v0, 0x1
goto :goto_4
.line 42
nop
:pswitch_data_8
.packed-switch 0x6
:pswitch_5
.end packed-switch
.end method