public class org.bouncycastle.math.ec.WTauNafMultiplier extends org.bouncycastle.math.ec.AbstractECMultiplier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.math.ec.WTauNafMultiplier
super_class: org.bouncycastle.math.ec.AbstractECMultiplier
{
static final java.lang.String PRECOMP_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "bc_wtnaf"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bouncycastle.math.ec.AbstractECMultiplier.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/math/ec/WTauNafMultiplier;
protected org.bouncycastle.math.ec.ECPoint multiplyPositive(org.bouncycastle.math.ec.ECPoint, java.math.BigInteger);
descriptor: (Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.bouncycastle.math.ec.ECPoint$AbstractF2m
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "Only ECPoint.AbstractF2m can be used in WTauNafMultiplier"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.math.ec.ECPoint$AbstractF2m
astore 3
start local 3 3: aload 3
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
checkcast org.bouncycastle.math.ec.ECCurve$AbstractF2m
astore 4
start local 4 4: aload 4
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getFieldSize:()I
istore 5
start local 5 5: aload 4
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getA:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.byteValue:()B
istore 6
start local 6 6: iload 6
invokestatic org.bouncycastle.math.ec.Tnaf.getMu:(I)B
istore 7
start local 7 7: aload 4
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getSi:()[Ljava/math/BigInteger;
astore 8
start local 8 8: aload 2
iload 5
iload 6
aload 8
iload 7
bipush 10
invokestatic org.bouncycastle.math.ec.Tnaf.partModReduction:(Ljava/math/BigInteger;IB[Ljava/math/BigInteger;BB)Lorg/bouncycastle/math/ec/ZTauElement;
astore 9
start local 9 9: aload 0
aload 3
aload 9
iload 6
iload 7
invokevirtual org.bouncycastle.math.ec.WTauNafMultiplier.multiplyWTnaf:(Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;Lorg/bouncycastle/math/ec/ZTauElement;BB)Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/math/ec/WTauNafMultiplier;
0 10 1 point Lorg/bouncycastle/math/ec/ECPoint;
0 10 2 k Ljava/math/BigInteger;
3 10 3 p Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
4 10 4 curve Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
5 10 5 m I
6 10 6 a B
7 10 7 mu B
8 10 8 s [Ljava/math/BigInteger;
9 10 9 rho Lorg/bouncycastle/math/ec/ZTauElement;
MethodParameters:
Name Flags
point
k
private org.bouncycastle.math.ec.ECPoint$AbstractF2m multiplyWTnaf(org.bouncycastle.math.ec.ECPoint$AbstractF2m, org.bouncycastle.math.ec.ZTauElement, byte, byte);
descriptor: (Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;Lorg/bouncycastle/math/ec/ZTauElement;BB)Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
ifne 1
getstatic org.bouncycastle.math.ec.Tnaf.alpha0:[Lorg/bouncycastle/math/ec/ZTauElement;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.bouncycastle.math.ec.Tnaf.alpha1:[Lorg/bouncycastle/math/ec/ZTauElement;
StackMap locals:
StackMap stack: org.bouncycastle.math.ec.ZTauElement[]
2: astore 5
start local 5 3: iload 4
iconst_4
invokestatic org.bouncycastle.math.ec.Tnaf.getTw:(BI)Ljava/math/BigInteger;
astore 6
start local 6 4: iload 4
aload 2
iconst_4
5: ldc 16
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
aload 6
aload 5
6: invokestatic org.bouncycastle.math.ec.Tnaf.tauAdicWNaf:(BLorg/bouncycastle/math/ec/ZTauElement;BLjava/math/BigInteger;Ljava/math/BigInteger;[Lorg/bouncycastle/math/ec/ZTauElement;)[B
astore 7
start local 7 7: aload 1
aload 7
invokestatic org.bouncycastle.math.ec.WTauNafMultiplier.multiplyFromWTnaf:(Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;[B)Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/math/ec/WTauNafMultiplier;
0 8 1 p Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
0 8 2 lambda Lorg/bouncycastle/math/ec/ZTauElement;
0 8 3 a B
0 8 4 mu B
3 8 5 alpha [Lorg/bouncycastle/math/ec/ZTauElement;
4 8 6 tw Ljava/math/BigInteger;
7 8 7 u [B
MethodParameters:
Name Flags
p
lambda
a
mu
private static org.bouncycastle.math.ec.ECPoint$AbstractF2m multiplyFromWTnaf(org.bouncycastle.math.ec.ECPoint$AbstractF2m, byte[]);
descriptor: (Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;[B)Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=12, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
checkcast org.bouncycastle.math.ec.ECCurve$AbstractF2m
astore 2
start local 2 1: aload 2
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getA:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.byteValue:()B
istore 3
start local 3 2: aload 2
aload 0
ldc "bc_wtnaf"
new org.bouncycastle.math.ec.WTauNafMultiplier$1
dup
aload 0
iload 3
invokespecial org.bouncycastle.math.ec.WTauNafMultiplier$1.<init>:(Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;B)V
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.precompute:(Lorg/bouncycastle/math/ec/ECPoint;Ljava/lang/String;Lorg/bouncycastle/math/ec/PreCompCallback;)Lorg/bouncycastle/math/ec/PreCompInfo;
checkcast org.bouncycastle.math.ec.WTauNafPreCompInfo
astore 4
start local 4 3: aload 4
invokevirtual org.bouncycastle.math.ec.WTauNafPreCompInfo.getPreComp:()[Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
astore 5
start local 5 4: aload 5
arraylength
anewarray org.bouncycastle.math.ec.ECPoint$AbstractF2m
astore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 9
7: StackMap locals: org.bouncycastle.math.ec.ECPoint$AbstractF2m byte[] org.bouncycastle.math.ec.ECCurve$AbstractF2m int org.bouncycastle.math.ec.WTauNafPreCompInfo org.bouncycastle.math.ec.ECPoint$AbstractF2m[] org.bouncycastle.math.ec.ECPoint$AbstractF2m[] int
StackMap stack:
aload 6
iload 7
aload 5
iload 7
aaload
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.negate:()Lorg/bouncycastle/math/ec/ECPoint;
checkcast org.bouncycastle.math.ec.ECPoint$AbstractF2m
aastore
8: iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
aload 5
arraylength
if_icmplt 7
end local 7 10: aload 0
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
invokevirtual org.bouncycastle.math.ec.ECCurve.getInfinity:()Lorg/bouncycastle/math/ec/ECPoint;
checkcast org.bouncycastle.math.ec.ECPoint$AbstractF2m
astore 7
start local 7 11: iconst_0
istore 8
start local 8 12: aload 1
arraylength
iconst_1
isub
istore 9
start local 9 13: goto 24
14: StackMap locals: org.bouncycastle.math.ec.ECPoint$AbstractF2m byte[] org.bouncycastle.math.ec.ECCurve$AbstractF2m int org.bouncycastle.math.ec.WTauNafPreCompInfo org.bouncycastle.math.ec.ECPoint$AbstractF2m[] org.bouncycastle.math.ec.ECPoint$AbstractF2m[] org.bouncycastle.math.ec.ECPoint$AbstractF2m int int
StackMap stack:
iinc 8 1
15: aload 1
iload 9
baload
istore 10
start local 10 16: iload 10
ifeq 23
17: aload 7
iload 8
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.tauPow:(I)Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
astore 7
18: iconst_0
istore 8
19: iload 10
ifle 20
aload 5
iload 10
iconst_1
iushr
aaload
goto 21
StackMap locals: int
StackMap stack:
20: aload 6
iload 10
ineg
iconst_1
iushr
aaload
StackMap locals:
StackMap stack: org.bouncycastle.math.ec.ECPoint$AbstractF2m
21: astore 11
start local 11 22: aload 7
aload 11
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.add:(Lorg/bouncycastle/math/ec/ECPoint;)Lorg/bouncycastle/math/ec/ECPoint;
checkcast org.bouncycastle.math.ec.ECPoint$AbstractF2m
astore 7
end local 11 end local 10 23: StackMap locals:
StackMap stack:
iinc 9 -1
StackMap locals:
StackMap stack:
24: iload 9
ifge 14
end local 9 25: iload 8
ifle 27
26: aload 7
iload 8
invokevirtual org.bouncycastle.math.ec.ECPoint$AbstractF2m.tauPow:(I)Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
astore 7
27: StackMap locals:
StackMap stack:
aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 p Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
0 28 1 u [B
1 28 2 curve Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
2 28 3 a B
3 28 4 preCompInfo Lorg/bouncycastle/math/ec/WTauNafPreCompInfo;
4 28 5 pu [Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
5 28 6 puNeg [Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
6 10 7 i I
11 28 7 q Lorg/bouncycastle/math/ec/ECPoint$AbstractF2m;
12 28 8 tauCount I
13 25 9 i I
16 23 10 ui I
22 23 11 x Lorg/bouncycastle/math/ec/ECPoint;
MethodParameters:
Name Flags
p final
u
}
SourceFile: "WTauNafMultiplier.java"
NestMembers:
org.bouncycastle.math.ec.WTauNafMultiplier$1
InnerClasses:
public abstract AbstractF2m = org.bouncycastle.math.ec.ECCurve$AbstractF2m of org.bouncycastle.math.ec.ECCurve
public abstract AbstractF2m = org.bouncycastle.math.ec.ECPoint$AbstractF2m of org.bouncycastle.math.ec.ECPoint
org.bouncycastle.math.ec.WTauNafMultiplier$1