SecP192R1Point.smali
.class public Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;
.super Lorg/spongycastle/math/ec/ECPoint$AbstractFp;
.source "SecP192R1Point.java"
# direct methods
.method public constructor <init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;)V
.registers 5
.prologue
.line 25
const/4 v0, 0x0
invoke-direct {p0, p1, p2, p3, v0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;Z)V
.line 26
return-void
.end method
.method public constructor <init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;Z)V
.registers 8
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
.line 45
invoke-direct {p0, p1, p2, p3}, Lorg/spongycastle/math/ec/ECPoint$AbstractFp;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;)V
.line 47
if-nez p2, :cond_14
move v2, v0
:goto_8
if-nez p3, :cond_16
:goto_a
if-eq v2, v0, :cond_18
.line 49
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Exactly one of the field elements is null"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_14
move v2, v1
.line 47
goto :goto_8
:cond_16
move v0, v1
goto :goto_a
.line 52
:cond_18
iput-boolean p4, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->withCompression:Z
.line 53
return-void
.end method
.method constructor <init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;Z)V
.registers 6
.prologue
.line 57
invoke-direct {p0, p1, p2, p3, p4}, Lorg/spongycastle/math/ec/ECPoint$AbstractFp;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;)V
.line 59
iput-boolean p5, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->withCompression:Z
.line 60
return-void
.end method
# virtual methods
.method public add(Lorg/spongycastle/math/ec/ECPoint;)Lorg/spongycastle/math/ec/ECPoint;
.registers 16
.prologue
.line 70
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->isInfinity()Z
move-result v0
if-eqz v0, :cond_7
.line 190
:goto_6
return-object p1
.line 74
:cond_7
invoke-virtual {p1}, Lorg/spongycastle/math/ec/ECPoint;->isInfinity()Z
move-result v0
if-eqz v0, :cond_f
move-object p1, p0
.line 76
goto :goto_6
.line 78
:cond_f
if-ne p0, p1, :cond_16
.line 80
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->twice()Lorg/spongycastle/math/ec/ECPoint;
move-result-object p1
goto :goto_6
.line 83
:cond_16
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->getCurve()Lorg/spongycastle/math/ec/ECCurve;
move-result-object v1
.line 85
iget-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->x:Lorg/spongycastle/math/ec/ECFieldElement;
check-cast v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
iget-object v2, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->y:Lorg/spongycastle/math/ec/ECFieldElement;
check-cast v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
.line 86
invoke-virtual {p1}, Lorg/spongycastle/math/ec/ECPoint;->getXCoord()Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v3
check-cast v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-virtual {p1}, Lorg/spongycastle/math/ec/ECPoint;->getYCoord()Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v4
check-cast v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
.line 88
iget-object v5, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->zs:[Lorg/spongycastle/math/ec/ECFieldElement;
const/4 v6, 0x0
aget-object v5, v5, v6
check-cast v5, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
.line 89
const/4 v6, 0x0
invoke-virtual {p1, v6}, Lorg/spongycastle/math/ec/ECPoint;->getZCoord(I)Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v6
check-cast v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
.line 92
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->createExt()[I
move-result-object v11
.line 93
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v9
.line 94
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v7
.line 95
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v10
.line 97
invoke-virtual {v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->isOne()Z
move-result v12
.line 99
if-eqz v12, :cond_7d
.line 101
iget-object v8, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
.line 102
iget-object v3, v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
move-object v4, v8
.line 116
:goto_57
invoke-virtual {v6}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->isOne()Z
move-result v13
.line 118
if-eqz v13, :cond_94
.line 120
iget-object v8, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
.line 121
iget-object v0, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
move-object v2, v8
.line 135
:goto_62
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v8
.line 136
invoke-static {v2, v4, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 139
invoke-static {v0, v3, v9}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 142
invoke-static {v8}, Lorg/spongycastle/math/raw/Nat192;->isZero([I)Z
move-result v3
if-eqz v3, :cond_b1
.line 144
invoke-static {v9}, Lorg/spongycastle/math/raw/Nat192;->isZero([I)Z
move-result v0
if-eqz v0, :cond_ab
.line 147
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->twice()Lorg/spongycastle/math/ec/ECPoint;
move-result-object p1
goto :goto_6
.line 107
:cond_7d
iget-object v8, v5, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v8, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 110
iget-object v3, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v3, v9}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 112
iget-object v3, v5, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v3, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 113
iget-object v3, v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v3, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
move-object v3, v7
move-object v4, v9
goto :goto_57
.line 126
:cond_94
iget-object v8, v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v8, v10}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 129
iget-object v0, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v10, v0, v11}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 131
iget-object v0, v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v10, v0, v10}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 132
iget-object v0, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v10, v0, v10}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
move-object v0, v10
move-object v2, v11
goto :goto_62
.line 151
:cond_ab
invoke-virtual {v1}, Lorg/spongycastle/math/ec/ECCurve;->getInfinity()Lorg/spongycastle/math/ec/ECPoint;
move-result-object p1
goto/16 :goto_6
.line 155
:cond_b1
invoke-static {v8, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 157
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v4
.line 158
invoke-static {v7, v8, v4}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 161
invoke-static {v7, v2, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 163
invoke-static {v4, v4}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->negate([I[I)V
.line 164
invoke-static {v0, v4, v11}, Lorg/spongycastle/math/raw/Nat192;->mul([I[I[I)V
.line 166
invoke-static {v7, v7, v4}, Lorg/spongycastle/math/raw/Nat192;->addBothTo([I[I[I)I
move-result v0
.line 167
invoke-static {v0, v4}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->reduce32(I[I)V
.line 169
new-instance v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-direct {v2, v10}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;-><init>([I)V
.line 170
iget-object v0, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v9, v0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 171
iget-object v0, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v3, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v0, v4, v3}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 173
new-instance v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-direct {v3, v4}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;-><init>([I)V
.line 174
iget-object v0, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v4, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v0, v4}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 175
iget-object v0, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v0, v9, v11}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiplyAddToExt([I[I[I)V
.line 176
iget-object v0, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v11, v0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->reduce([I[I)V
.line 178
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-direct {v0, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;-><init>([I)V
.line 179
if-nez v12, :cond_102
.line 181
iget-object v4, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v5, v5, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v7, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v4, v5, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 183
:cond_102
if-nez v13, :cond_10d
.line 185
iget-object v4, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v5, v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v6, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v4, v5, v6}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 188
:cond_10d
const/4 v4, 0x1
new-array v4, v4, [Lorg/spongycastle/math/ec/ECFieldElement;
const/4 v5, 0x0
aput-object v0, v4, v5
.line 190
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;
iget-boolean v5, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->withCompression:Z
invoke-direct/range {v0 .. v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;Z)V
move-object p1, v0
goto/16 :goto_6
.end method
.method protected detach()Lorg/spongycastle/math/ec/ECPoint;
.registers 5
.prologue
.line 64
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;
const/4 v1, 0x0
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->getAffineXCoord()Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v2
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->getAffineYCoord()Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v3
invoke-direct {v0, v1, v2, v3}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;)V
return-object v0
.end method
.method public negate()Lorg/spongycastle/math/ec/ECPoint;
.registers 7
.prologue
.line 303
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->isInfinity()Z
move-result v0
if-eqz v0, :cond_7
.line 308
:goto_6
return-object p0
:cond_7
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;
iget-object v1, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->curve:Lorg/spongycastle/math/ec/ECCurve;
iget-object v2, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->x:Lorg/spongycastle/math/ec/ECFieldElement;
iget-object v3, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->y:Lorg/spongycastle/math/ec/ECFieldElement;
invoke-virtual {v3}, Lorg/spongycastle/math/ec/ECFieldElement;->negate()Lorg/spongycastle/math/ec/ECFieldElement;
move-result-object v3
iget-object v4, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->zs:[Lorg/spongycastle/math/ec/ECFieldElement;
iget-boolean v5, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->withCompression:Z
invoke-direct/range {v0 .. v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;Z)V
move-object p0, v0
goto :goto_6
.end method
.method public threeTimes()Lorg/spongycastle/math/ec/ECPoint;
.registers 2
.prologue
.line 292
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->isInfinity()Z
move-result v0
if-nez v0, :cond_e
iget-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->y:Lorg/spongycastle/math/ec/ECFieldElement;
invoke-virtual {v0}, Lorg/spongycastle/math/ec/ECFieldElement;->isZero()Z
move-result v0
if-eqz v0, :cond_f
.line 298
:cond_e
:goto_e
return-object p0
:cond_f
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->twice()Lorg/spongycastle/math/ec/ECPoint;
move-result-object v0
invoke-virtual {v0, p0}, Lorg/spongycastle/math/ec/ECPoint;->add(Lorg/spongycastle/math/ec/ECPoint;)Lorg/spongycastle/math/ec/ECPoint;
move-result-object p0
goto :goto_e
.end method
.method public twice()Lorg/spongycastle/math/ec/ECPoint;
.registers 14
.prologue
const/4 v12, 0x6
const/4 v11, 0x0
.line 196
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->isInfinity()Z
move-result v0
if-eqz v0, :cond_9
.line 263
:goto_8
return-object p0
.line 201
:cond_9
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->getCurve()Lorg/spongycastle/math/ec/ECCurve;
move-result-object v1
.line 203
iget-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->y:Lorg/spongycastle/math/ec/ECFieldElement;
check-cast v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
.line 204
invoke-virtual {v0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->isZero()Z
move-result v2
if-eqz v2, :cond_1c
.line 206
invoke-virtual {v1}, Lorg/spongycastle/math/ec/ECCurve;->getInfinity()Lorg/spongycastle/math/ec/ECPoint;
move-result-object p0
goto :goto_8
.line 209
:cond_1c
iget-object v2, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->x:Lorg/spongycastle/math/ec/ECFieldElement;
check-cast v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
iget-object v3, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->zs:[Lorg/spongycastle/math/ec/ECFieldElement;
aget-object v3, v3, v11
move-object v4, v3
check-cast v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
.line 212
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v6
.line 213
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v5
.line 215
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v7
.line 216
iget-object v3, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v3, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 218
invoke-static {}, Lorg/spongycastle/math/raw/Nat192;->create()[I
move-result-object v8
.line 219
invoke-static {v7, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 221
invoke-virtual {v4}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->isOne()Z
move-result v9
.line 223
iget-object v3, v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
.line 224
if-nez v9, :cond_4d
.line 227
iget-object v3, v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v3, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
move-object v3, v5
.line 230
:cond_4d
iget-object v10, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v10, v3, v6}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 233
iget-object v10, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v10, v3, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->add([I[I[I)V
.line 234
invoke-static {v5, v6, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 235
invoke-static {v5, v5, v5}, Lorg/spongycastle/math/raw/Nat192;->addBothTo([I[I[I)I
move-result v3
.line 236
invoke-static {v3, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->reduce32(I[I)V
.line 239
iget-object v2, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v2, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 240
const/4 v2, 0x2
invoke-static {v12, v7, v2, v11}, Lorg/spongycastle/math/raw/Nat;->shiftUpBits(I[III)I
move-result v2
.line 241
invoke-static {v2, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->reduce32(I[I)V
.line 243
const/4 v2, 0x3
invoke-static {v12, v8, v2, v11, v6}, Lorg/spongycastle/math/raw/Nat;->shiftUpBits(I[III[I)I
move-result v2
.line 244
invoke-static {v2, v6}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->reduce32(I[I)V
.line 246
new-instance v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-direct {v2, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;-><init>([I)V
.line 247
iget-object v3, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v5, v3}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->square([I[I)V
.line 248
iget-object v3, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v8, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v3, v7, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 249
iget-object v3, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v8, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v3, v7, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 251
new-instance v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-direct {v3, v7}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;-><init>([I)V
.line 252
iget-object v8, v2, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v10, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v8, v10}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 253
iget-object v7, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v8, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v5, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 254
iget-object v7, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v8, v3, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v7, v6, v8}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->subtract([I[I[I)V
.line 256
new-instance v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;
invoke-direct {v6, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;-><init>([I)V
.line 257
iget-object v0, v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v5, v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v0, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->twice([I[I)V
.line 258
if-nez v9, :cond_bf
.line 260
iget-object v0, v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v4, v4, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
iget-object v5, v6, Lorg/spongycastle/math/ec/custom/sec/SecP192R1FieldElement;->x:[I
invoke-static {v0, v4, v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Field;->multiply([I[I[I)V
.line 263
:cond_bf
new-instance v0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;
const/4 v4, 0x1
new-array v4, v4, [Lorg/spongycastle/math/ec/ECFieldElement;
aput-object v6, v4, v11
iget-boolean v5, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->withCompression:Z
invoke-direct/range {v0 .. v5}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;-><init>(Lorg/spongycastle/math/ec/ECCurve;Lorg/spongycastle/math/ec/ECFieldElement;Lorg/spongycastle/math/ec/ECFieldElement;[Lorg/spongycastle/math/ec/ECFieldElement;Z)V
move-object p0, v0
goto/16 :goto_8
.end method
.method public twicePlus(Lorg/spongycastle/math/ec/ECPoint;)Lorg/spongycastle/math/ec/ECPoint;
.registers 3
.prologue
.line 268
if-ne p0, p1, :cond_7
.line 270
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->threeTimes()Lorg/spongycastle/math/ec/ECPoint;
move-result-object p1
.line 287
:cond_6
:goto_6
return-object p1
.line 272
:cond_7
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->isInfinity()Z
move-result v0
if-nez v0, :cond_6
.line 276
invoke-virtual {p1}, Lorg/spongycastle/math/ec/ECPoint;->isInfinity()Z
move-result v0
if-eqz v0, :cond_18
.line 278
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->twice()Lorg/spongycastle/math/ec/ECPoint;
move-result-object p1
goto :goto_6
.line 281
:cond_18
iget-object v0, p0, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->y:Lorg/spongycastle/math/ec/ECFieldElement;
.line 282
invoke-virtual {v0}, Lorg/spongycastle/math/ec/ECFieldElement;->isZero()Z
move-result v0
if-nez v0, :cond_6
.line 287
invoke-virtual {p0}, Lorg/spongycastle/math/ec/custom/sec/SecP192R1Point;->twice()Lorg/spongycastle/math/ec/ECPoint;
move-result-object v0
invoke-virtual {v0, p1}, Lorg/spongycastle/math/ec/ECPoint;->add(Lorg/spongycastle/math/ec/ECPoint;)Lorg/spongycastle/math/ec/ECPoint;
move-result-object p1
goto :goto_6
.end method