public abstract class org.bouncycastle.crypto.digests.GeneralDigest implements org.bouncycastle.crypto.ExtendedDigest, org.bouncycastle.util.Memoable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.crypto.digests.GeneralDigest
super_class: java.lang.Object
{
private static final int BYTE_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private final byte[] xBuf;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int xBufOff;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long byteCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_4
newarray 8
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
2: aload 0
iconst_0
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
protected void <init>(org.bouncycastle.crypto.digests.GeneralDigest);
descriptor: (Lorg/bouncycastle/crypto/digests/GeneralDigest;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_4
newarray 8
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
2: aload 0
aload 1
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.copyIn:(Lorg/bouncycastle/crypto/digests/GeneralDigest;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 4 1 t Lorg/bouncycastle/crypto/digests/GeneralDigest;
MethodParameters:
Name Flags
t
protected void <init>(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_4
newarray 8
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
2: aload 1
iconst_0
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 1
iconst_4
invokestatic org.bouncycastle.util.Pack.bigEndianToInt:([BI)I
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
4: aload 0
aload 1
bipush 8
invokestatic org.bouncycastle.util.Pack.bigEndianToLong:([BI)J
putfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 6 1 encodedState [B
MethodParameters:
Name Flags
encodedState
protected void copyIn(org.bouncycastle.crypto.digests.GeneralDigest);
descriptor: (Lorg/bouncycastle/crypto/digests/GeneralDigest;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iconst_0
aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
2: aload 0
aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
putfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 4 1 t Lorg/bouncycastle/crypto/digests/GeneralDigest;
MethodParameters:
Name Flags
t
public void update(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
aload 0
dup
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
iload 1
bastore
1: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
if_icmpne 4
2: aload 0
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iconst_0
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.processWord:([BI)V
3: aload 0
iconst_0
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
lconst_1
ladd
putfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 6 1 in B
MethodParameters:
Name Flags
in
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
iload 3
invokestatic java.lang.Math.max:(II)I
istore 3
1: iconst_0
istore 4
start local 4 2: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
ifeq 10
3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
aload 0
dup
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
aload 1
iload 2
iload 4
iinc 4 1
iadd
baload
bastore
5: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
iconst_4
if_icmpne 9
6: aload 0
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iconst_0
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.processWord:([BI)V
7: aload 0
iconst_0
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
8: goto 10
9: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 4
10: StackMap locals:
StackMap stack:
iload 3
iload 4
isub
bipush -4
iand
iload 4
iadd
istore 5
start local 5 11: goto 14
12: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 4
iadd
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.processWord:([BI)V
13: iinc 4 4
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmplt 12
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
aload 0
dup
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
aload 1
iload 2
iload 4
iinc 4 1
iadd
baload
bastore
17: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 16
18: aload 0
dup
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
iload 3
i2l
ladd
putfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
19: 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 20 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 20 1 in [B
0 20 2 inOff I
0 20 3 len I
2 20 4 i I
11 20 5 limit I
MethodParameters:
Name Flags
in
inOff
len
public void finish();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
iconst_3
lshl
lstore 1
start local 1 1: aload 0
bipush -128
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.update:(B)V
2: goto 4
3: StackMap locals: long
StackMap stack:
aload 0
iconst_0
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.update:(B)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
ifne 3
5: aload 0
lload 1
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.processLength:(J)V
6: aload 0
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.processBlock:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
1 8 1 bitLength J
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
lconst_0
putfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
1: aload 0
iconst_0
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iload 1
iconst_0
bastore
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
if_icmplt 4
end local 1 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
3 7 1 i I
protected void populateState(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
iconst_0
aload 1
iconst_0
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
aload 1
iconst_4
invokestatic org.bouncycastle.util.Pack.intToBigEndian:(I[BI)V
2: aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
aload 1
bipush 8
invokestatic org.bouncycastle.util.Pack.longToBigEndian:(J[BI)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 4 1 state [B
MethodParameters:
Name Flags
state
public int getByteLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 64
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
protected abstract void processWord(byte[], int);
descriptor: ([BI)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
in
inOff
protected abstract void processLength(long);
descriptor: (J)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
bitLength
protected abstract void processBlock();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
}
SourceFile: "GeneralDigest.java"