public abstract class org.bouncycastle.math.ec.rfc7748.X448
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.math.ec.rfc7748.X448
super_class: java.lang.Object
{
public static final int POINT_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 56
public static final int SCALAR_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 56
private static final int C_A;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 156326
private static final int C_A24;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 39082
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/math/ec/rfc7748/X448;
public static boolean calculateAgreement(byte[], int, byte[], int, byte[], int);
descriptor: ([BI[BI[BI)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
iload 3
aload 4
iload 5
invokestatic org.bouncycastle.math.ec.rfc7748.X448.scalarMult:([BI[BI[BI)V
1: aload 4
iload 5
bipush 56
invokestatic org.bouncycastle.util.Arrays.areAllZeroes:([BII)Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
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 4 0 k [B
0 4 1 kOff I
0 4 2 u [B
0 4 3 uOff I
0 4 4 r [B
0 4 5 rOff I
MethodParameters:
Name Flags
k
kOff
u
uOff
r
rOff
private static int decode32(byte[], int);
descriptor: ([BI)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
baload
sipush 255
iand
istore 2
start local 2 1: iload 2
aload 0
iinc 1 1
iload 1
baload
sipush 255
iand
bipush 8
ishl
ior
istore 2
2: iload 2
aload 0
iinc 1 1
iload 1
baload
sipush 255
iand
bipush 16
ishl
ior
istore 2
3: iload 2
aload 0
iinc 1 1
iload 1
baload
bipush 24
ishl
ior
istore 2
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 bs [B
0 5 1 off I
1 5 2 n I
MethodParameters:
Name Flags
bs
off
private static void decodeScalar(byte[], int, int[]);
descriptor: ([BI[I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 2
iload 3
aload 0
iload 1
iload 3
iconst_4
imul
iadd
invokestatic org.bouncycastle.math.ec.rfc7748.X448.decode32:([BI)I
iastore
3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
bipush 14
if_icmplt 2
end local 3 5: aload 2
iconst_0
dup2
iaload
bipush -4
iand
iastore
6: aload 2
bipush 13
dup2
iaload
ldc -2147483648
ior
iastore
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 k [B
0 8 1 kOff I
0 8 2 n [I
1 5 3 i I
MethodParameters:
Name Flags
k
kOff
n
public static void generatePrivateKey(java.security.SecureRandom, byte[]);
descriptor: (Ljava/security/SecureRandom;[B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.security.SecureRandom.nextBytes:([B)V
1: aload 1
iconst_0
dup2
baload
sipush 252
iand
i2b
bastore
2: aload 1
bipush 55
dup2
baload
sipush 128
ior
i2b
bastore
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 random Ljava/security/SecureRandom;
0 4 1 k [B
MethodParameters:
Name Flags
random
k
public static void generatePublicKey(byte[], int, byte[], int);
descriptor: ([BI[BI)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iload 3
invokestatic org.bouncycastle.math.ec.rfc7748.X448.scalarMultBase:([BI[BI)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 k [B
0 2 1 kOff I
0 2 2 r [B
0 2 3 rOff I
MethodParameters:
Name Flags
k
kOff
r
rOff
private static void pointDouble(int[], int[]);
descriptor: ([I[I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 2
start local 2 1: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 3
start local 3 2: aload 0
aload 1
aload 2
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.add:([I[I[I)V
3: aload 0
aload 1
aload 3
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sub:([I[I[I)V
4: aload 2
aload 2
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
5: aload 3
aload 3
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
6: aload 2
aload 3
aload 0
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
7: aload 2
aload 3
aload 2
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sub:([I[I[I)V
8: aload 2
ldc 39082
aload 1
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([II[I)V
9: aload 1
aload 3
aload 1
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.add:([I[I[I)V
10: aload 1
aload 2
aload 1
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 x [I
0 12 1 z [I
1 12 2 A [I
2 12 3 B [I
MethodParameters:
Name Flags
x
z
public static void precompute();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic org.bouncycastle.math.ec.rfc8032.Ed448.precompute:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void scalarMult(byte[], int, byte[], int, byte[], int);
descriptor: ([BI[BI[BI)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=19, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: bipush 14
newarray 10
astore 6
start local 6 1: aload 0
iload 1
aload 6
invokestatic org.bouncycastle.math.ec.rfc7748.X448.decodeScalar:([BI[I)V
2: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 7
start local 7 3: aload 2
iload 3
aload 7
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.decode:([BI[I)V
4: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 8
start local 8 5: aload 7
iconst_0
aload 8
iconst_0
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.copy:([II[II)V
6: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 9
start local 9 7: aload 9
iconst_0
iconst_1
iastore
8: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 10
start local 10 9: aload 10
iconst_0
iconst_1
iastore
10: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 11
start local 11 11: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 12
start local 12 12: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 13
start local 13 13: sipush 447
istore 14
start local 14 14: iconst_1
istore 15
start local 15 15: StackMap locals: byte[] int byte[] int byte[] int int[] int[] int[] int[] int[] int[] int[] int[] int int
StackMap stack:
aload 10
aload 11
aload 12
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.add:([I[I[I)V
16: aload 10
aload 11
aload 10
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sub:([I[I[I)V
17: aload 8
aload 9
aload 11
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.add:([I[I[I)V
18: aload 8
aload 9
aload 8
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sub:([I[I[I)V
19: aload 12
aload 8
aload 12
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
20: aload 10
aload 11
aload 10
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
21: aload 11
aload 11
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
22: aload 8
aload 8
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
23: aload 11
aload 8
aload 13
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sub:([I[I[I)V
24: aload 13
ldc 39082
aload 9
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([II[I)V
25: aload 9
aload 8
aload 9
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.add:([I[I[I)V
26: aload 9
aload 13
aload 9
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
27: aload 8
aload 11
aload 8
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
28: aload 12
aload 10
aload 11
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sub:([I[I[I)V
29: aload 12
aload 10
aload 10
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.add:([I[I[I)V
30: aload 10
aload 10
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
31: aload 11
aload 11
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
32: aload 11
aload 7
aload 11
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
33: iinc 14 -1
34: iload 14
iconst_5
iushr
istore 16
start local 16 35: iload 14
bipush 31
iand
istore 17
start local 17 36: aload 6
iload 16
iaload
iload 17
iushr
iconst_1
iand
istore 18
start local 18 37: iload 15
iload 18
ixor
istore 15
38: iload 15
aload 8
aload 10
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.cswap:(I[I[I)V
39: iload 15
aload 9
aload 11
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.cswap:(I[I[I)V
40: iload 18
istore 15
end local 18 end local 17 end local 16 41: iload 14
iconst_2
42: if_icmpge 15
43: iconst_0
istore 16
start local 16 44: goto 47
45: StackMap locals: int
StackMap stack:
aload 8
aload 9
invokestatic org.bouncycastle.math.ec.rfc7748.X448.pointDouble:([I[I)V
46: iinc 16 1
StackMap locals:
StackMap stack:
47: iload 16
iconst_2
if_icmplt 45
end local 16 48: aload 9
aload 9
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.inv:([I[I)V
49: aload 8
aload 9
aload 8
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
50: aload 8
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.normalize:([I)V
51: aload 8
aload 4
iload 5
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.encode:([I[BI)V
52: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 53 0 k [B
0 53 1 kOff I
0 53 2 u [B
0 53 3 uOff I
0 53 4 r [B
0 53 5 rOff I
1 53 6 n [I
3 53 7 x1 [I
5 53 8 x2 [I
7 53 9 z2 [I
9 53 10 x3 [I
11 53 11 z3 [I
12 53 12 t1 [I
13 53 13 t2 [I
14 53 14 bit I
15 53 15 swap I
35 41 16 word I
36 41 17 shift I
37 41 18 kt I
44 48 16 i I
MethodParameters:
Name Flags
k
kOff
u
uOff
r
rOff
public static void scalarMultBase(byte[], int, byte[], int);
descriptor: ([BI[BI)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 4
start local 4 1: invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.create:()[I
astore 5
start local 5 2: getstatic org.bouncycastle.math.ec.rfc7748.X448$Friend.INSTANCE:Lorg/bouncycastle/math/ec/rfc7748/X448$Friend;
aload 0
iload 1
aload 4
aload 5
invokestatic org.bouncycastle.math.ec.rfc8032.Ed448.scalarMultBaseXY:(Lorg/bouncycastle/math/ec/rfc7748/X448$Friend;[BI[I[I)V
3: aload 4
aload 4
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.inv:([I[I)V
4: aload 4
aload 5
aload 4
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.mul:([I[I[I)V
5: aload 4
aload 4
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.sqr:([I[I)V
6: aload 4
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.normalize:([I)V
7: aload 4
aload 2
iload 3
invokestatic org.bouncycastle.math.ec.rfc7748.X448Field.encode:([I[BI)V
8: return
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 9 0 k [B
0 9 1 kOff I
0 9 2 r [B
0 9 3 rOff I
1 9 4 x [I
2 9 5 y [I
MethodParameters:
Name Flags
k
kOff
r
rOff
}
SourceFile: "X448.java"
NestMembers:
org.bouncycastle.math.ec.rfc7748.X448$Friend
InnerClasses:
public Friend = org.bouncycastle.math.ec.rfc7748.X448$Friend of org.bouncycastle.math.ec.rfc7748.X448