public abstract class org.bouncycastle.math.ec.ECCurve$AbstractF2m extends org.bouncycastle.math.ec.ECCurve
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.math.ec.ECCurve$AbstractF2m
super_class: org.bouncycastle.math.ec.ECCurve
{
private java.math.BigInteger[] si;
descriptor: [Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
public static java.math.BigInteger inverse(int, int[], java.math.BigInteger);
descriptor: (I[ILjava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.bouncycastle.math.ec.LongArray
dup
aload 2
invokespecial org.bouncycastle.math.ec.LongArray.<init>:(Ljava/math/BigInteger;)V
iload 0
aload 1
invokevirtual org.bouncycastle.math.ec.LongArray.modInverse:(I[I)Lorg/bouncycastle/math/ec/LongArray;
invokevirtual org.bouncycastle.math.ec.LongArray.toBigInteger:()Ljava/math/BigInteger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m I
0 1 1 ks [I
0 1 2 x Ljava/math/BigInteger;
MethodParameters:
Name Flags
m
ks
x
private static org.bouncycastle.math.field.FiniteField buildField(int, int, int, int);
descriptor: (IIII)Lorg/bouncycastle/math/field/FiniteField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "k1 must be > 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
ifne 6
3: iload 3
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "k3 must be 0 if k2 == 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iconst_3
newarray 10
dup
iconst_1
iload 1
iastore
dup
iconst_2
iload 0
iastore
invokestatic org.bouncycastle.math.field.FiniteFields.getBinaryExtensionField:([I)Lorg/bouncycastle/math/field/PolynomialExtensionField;
areturn
6: StackMap locals:
StackMap stack:
iload 2
iload 1
if_icmpgt 8
7: new java.lang.IllegalArgumentException
dup
ldc "k2 must be > k1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpgt 10
9: new java.lang.IllegalArgumentException
dup
ldc "k3 must be > k2"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iconst_5
newarray 10
dup
iconst_1
iload 1
iastore
dup
iconst_2
iload 2
iastore
dup
iconst_3
iload 3
iastore
dup
iconst_4
iload 0
iastore
invokestatic org.bouncycastle.math.field.FiniteFields.getBinaryExtensionField:([I)Lorg/bouncycastle/math/field/PolynomialExtensionField;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 m I
0 11 1 k1 I
0 11 2 k2 I
0 11 3 k3 I
MethodParameters:
Name Flags
m
k1
k2
k3
protected void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokestatic org.bouncycastle.math.ec.ECCurve$AbstractF2m.buildField:(IIII)Lorg/bouncycastle/math/field/FiniteField;
invokespecial org.bouncycastle.math.ec.ECCurve.<init>:(Lorg/bouncycastle/math/field/FiniteField;)V
1: aload 0
aconst_null
putfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.si:[Ljava/math/BigInteger;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
0 3 1 m I
0 3 2 k1 I
0 3 3 k2 I
0 3 4 k3 I
MethodParameters:
Name Flags
m
k1
k2
k3
public boolean isValidFieldElement(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.math.BigInteger.signum:()I
iflt 1
aload 1
invokevirtual java.math.BigInteger.bitLength:()I
aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getFieldSize:()I
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
0 2 1 x Ljava/math/BigInteger;
MethodParameters:
Name Flags
x
public org.bouncycastle.math.ec.ECPoint createPoint(java.math.BigInteger, java.math.BigInteger, boolean);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Z)Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.fromBigInteger:(Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 4
start local 4 1: aload 0
aload 2
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.fromBigInteger:(Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 5
start local 5 2: aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getCoordinateSystem:()I
istore 6
start local 6 3: iload 6
tableswitch { // 5 - 6
5: 4
6: 4
default: 9
}
4: StackMap locals: org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement int
StackMap stack:
aload 4
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isZero:()Z
ifeq 7
5: aload 5
invokevirtual org.bouncycastle.math.ec.ECFieldElement.square:()Lorg/bouncycastle/math/ec/ECFieldElement;
aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getB:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 9
6: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 5
aload 4
invokevirtual org.bouncycastle.math.ec.ECFieldElement.divide:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
aload 4
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 5
8: goto 9
9: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 5
iload 3
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.createRawPoint:(Lorg/bouncycastle/math/ec/ECFieldElement;Lorg/bouncycastle/math/ec/ECFieldElement;Z)Lorg/bouncycastle/math/ec/ECPoint;
areturn
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/ECCurve$AbstractF2m;
0 10 1 x Ljava/math/BigInteger;
0 10 2 y Ljava/math/BigInteger;
0 10 3 withCompression Z
1 10 4 X Lorg/bouncycastle/math/ec/ECFieldElement;
2 10 5 Y Lorg/bouncycastle/math/ec/ECFieldElement;
3 10 6 coord I
MethodParameters:
Name Flags
x
y
withCompression
protected org.bouncycastle.math.ec.ECPoint decompressPoint(int, java.math.BigInteger);
descriptor: (ILjava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.fromBigInteger:(Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isZero:()Z
ifeq 5
3: aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getB:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.sqrt:()Lorg/bouncycastle/math/ec/ECFieldElement;
astore 4
4: goto 16
5: StackMap locals: org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement
StackMap stack:
aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.square:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.invert:()Lorg/bouncycastle/math/ec/ECFieldElement;
aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getB:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.multiply:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getA:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 5
start local 5 6: aload 0
aload 5
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.solveQuadraticEquation:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 6
start local 6 7: aload 6
ifnull 16
8: aload 6
invokevirtual org.bouncycastle.math.ec.ECFieldElement.testBitZero:()Z
iload 1
iconst_1
if_icmpne 9
iconst_1
goto 10
StackMap locals: org.bouncycastle.math.ec.ECCurve$AbstractF2m int java.math.BigInteger org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement
StackMap stack: int
9: iconst_0
StackMap locals: org.bouncycastle.math.ec.ECCurve$AbstractF2m int java.math.BigInteger org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement
StackMap stack: int int
10: if_icmpeq 12
11: aload 6
invokevirtual org.bouncycastle.math.ec.ECFieldElement.addOne:()Lorg/bouncycastle/math/ec/ECFieldElement;
astore 6
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getCoordinateSystem:()I
tableswitch { // 5 - 6
5: 13
6: 13
default: 15
}
13: StackMap locals:
StackMap stack:
aload 6
aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 4
14: goto 16
15: StackMap locals:
StackMap stack:
aload 6
aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.multiply:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 4
end local 6 end local 5 16: StackMap locals:
StackMap stack:
aload 4
ifnonnull 18
17: new java.lang.IllegalArgumentException
dup
ldc "Invalid point compression"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 4
iconst_1
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.createRawPoint:(Lorg/bouncycastle/math/ec/ECFieldElement;Lorg/bouncycastle/math/ec/ECFieldElement;Z)Lorg/bouncycastle/math/ec/ECPoint;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
0 19 1 yTilde I
0 19 2 X1 Ljava/math/BigInteger;
1 19 3 x Lorg/bouncycastle/math/ec/ECFieldElement;
2 19 4 y Lorg/bouncycastle/math/ec/ECFieldElement;
6 16 5 beta Lorg/bouncycastle/math/ec/ECFieldElement;
7 16 6 z Lorg/bouncycastle/math/ec/ECFieldElement;
MethodParameters:
Name Flags
yTilde
X1
protected org.bouncycastle.math.ec.ECFieldElement solveQuadraticEquation(org.bouncycastle.math.ec.ECFieldElement);
descriptor: (Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isZero:()Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.bouncycastle.math.ec.ECConstants.ZERO:Ljava/math/BigInteger;
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.fromBigInteger:(Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 4
start local 4 3: aload 0
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.getFieldSize:()I
istore 5
start local 5 4: new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
astore 6
start local 6 5: StackMap locals: org.bouncycastle.math.ec.ECCurve$AbstractF2m org.bouncycastle.math.ec.ECFieldElement top top org.bouncycastle.math.ec.ECFieldElement int java.util.Random
StackMap stack:
aload 0
new java.math.BigInteger
dup
iload 5
aload 6
invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
invokevirtual org.bouncycastle.math.ec.ECCurve$AbstractF2m.fromBigInteger:(Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 7
start local 7 6: aload 4
astore 3
start local 3 7: aload 1
astore 8
start local 8 8: iconst_1
istore 9
start local 9 9: goto 14
10: StackMap locals: org.bouncycastle.math.ec.ECCurve$AbstractF2m org.bouncycastle.math.ec.ECFieldElement top org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement int java.util.Random org.bouncycastle.math.ec.ECFieldElement org.bouncycastle.math.ec.ECFieldElement int
StackMap stack:
aload 8
invokevirtual org.bouncycastle.math.ec.ECFieldElement.square:()Lorg/bouncycastle/math/ec/ECFieldElement;
astore 10
start local 10 11: aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.square:()Lorg/bouncycastle/math/ec/ECFieldElement;
aload 10
aload 7
invokevirtual org.bouncycastle.math.ec.ECFieldElement.multiply:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 3
12: aload 10
aload 1
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 8
end local 10 13: iinc 9 1
StackMap locals:
StackMap stack:
14: iload 9
iload 5
if_icmplt 10
end local 9 15: aload 8
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isZero:()Z
ifne 17
16: aconst_null
areturn
17: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.square:()Lorg/bouncycastle/math/ec/ECFieldElement;
aload 3
invokevirtual org.bouncycastle.math.ec.ECFieldElement.add:(Lorg/bouncycastle/math/ec/ECFieldElement;)Lorg/bouncycastle/math/ec/ECFieldElement;
astore 2
end local 8 end local 7 start local 2 18: aload 2
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isZero:()Z
ifne 5
19: aload 3
areturn
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 20 0 this Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
0 20 1 beta Lorg/bouncycastle/math/ec/ECFieldElement;
18 20 2 gamma Lorg/bouncycastle/math/ec/ECFieldElement;
7 20 3 z Lorg/bouncycastle/math/ec/ECFieldElement;
3 20 4 zeroElement Lorg/bouncycastle/math/ec/ECFieldElement;
4 20 5 m I
5 20 6 rand Ljava/util/Random;
6 18 7 t Lorg/bouncycastle/math/ec/ECFieldElement;
8 18 8 w Lorg/bouncycastle/math/ec/ECFieldElement;
9 15 9 i I
11 13 10 w2 Lorg/bouncycastle/math/ec/ECFieldElement;
MethodParameters:
Name Flags
beta
synchronized java.math.BigInteger[] getSi();
descriptor: ()[Ljava/math/BigInteger;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.si:[Ljava/math/BigInteger;
ifnonnull 2
1: aload 0
aload 0
invokestatic org.bouncycastle.math.ec.Tnaf.getSi:(Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;)[Ljava/math/BigInteger;
putfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.si:[Ljava/math/BigInteger;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.si:[Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
public boolean isKoblitz();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.order:Ljava/math/BigInteger;
ifnull 2
aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.cofactor:Ljava/math/BigInteger;
ifnull 2
aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.b:Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isOne:()Z
ifeq 2
aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.a:Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isZero:()Z
ifne 1
aload 0
getfield org.bouncycastle.math.ec.ECCurve$AbstractF2m.a:Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.isOne:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/math/ec/ECCurve$AbstractF2m;
}
SourceFile: "ECCurve.java"
NestHost: org.bouncycastle.math.ec.ECCurve
InnerClasses:
public abstract AbstractF2m = org.bouncycastle.math.ec.ECCurve$AbstractF2m of org.bouncycastle.math.ec.ECCurve