public abstract class org.bouncycastle.crypto.digests.GeneralDigest implements org.bouncycastle.crypto.ExtendedDigest
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 byte[] xBuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
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=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
newarray 8
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
2: 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
3: aload 0
aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
putfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
4: aload 0
aload 1
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount: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 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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
baload
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.update:(B)V
2: iinc 2 1
3: iinc 3 -1
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBufOff:I
ifeq 10
iload 3
ifgt 1
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.processWord:([BI)V
7: iload 2
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
iadd
istore 2
8: iload 3
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
isub
istore 3
9: aload 0
dup
getfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
i2l
ladd
putfield org.bouncycastle.crypto.digests.GeneralDigest.byteCount:J
10: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.bouncycastle.crypto.digests.GeneralDigest.xBuf:[B
arraylength
if_icmpgt 6
11: goto 15
12: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
baload
invokevirtual org.bouncycastle.crypto.digests.GeneralDigest.update:(B)V
13: iinc 2 1
14: iinc 3 -1
15: StackMap locals:
StackMap stack:
iload 3
ifgt 12
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/crypto/digests/GeneralDigest;
0 17 1 in [B
0 17 2 inOff I
0 17 3 len 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
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"