public class org.bouncycastle.crypto.digests.SHA3Digest extends org.bouncycastle.crypto.digests.KeccakDigest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.digests.SHA3Digest
super_class: org.bouncycastle.crypto.digests.KeccakDigest
{
private static int checkBitLength(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
lookupswitch { // 4
224: 1
256: 1
384: 1
512: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iload 0
ireturn
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "'bitLength' "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " not supported for SHA-3"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bitLength I
MethodParameters:
Name Flags
bitLength
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
sipush 256
invokespecial org.bouncycastle.crypto.digests.SHA3Digest.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/digests/SHA3Digest;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.bouncycastle.crypto.digests.SHA3Digest.checkBitLength:(I)I
invokespecial org.bouncycastle.crypto.digests.KeccakDigest.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/digests/SHA3Digest;
0 2 1 bitLength I
MethodParameters:
Name Flags
bitLength
public void <init>(org.bouncycastle.crypto.digests.SHA3Digest);
descriptor: (Lorg/bouncycastle/crypto/digests/SHA3Digest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.bouncycastle.crypto.digests.KeccakDigest.<init>:(Lorg/bouncycastle/crypto/digests/KeccakDigest;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/digests/SHA3Digest;
0 2 1 source Lorg/bouncycastle/crypto/digests/SHA3Digest;
MethodParameters:
Name Flags
source
public java.lang.String getAlgorithmName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "SHA3-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.crypto.digests.SHA3Digest.fixedOutputLength:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/digests/SHA3Digest;
public int doFinal(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_2
iconst_2
invokevirtual org.bouncycastle.crypto.digests.SHA3Digest.absorbBits:(II)V
1: aload 0
aload 1
iload 2
invokespecial org.bouncycastle.crypto.digests.KeccakDigest.doFinal:([BI)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/digests/SHA3Digest;
0 2 1 out [B
0 2 2 outOff I
MethodParameters:
Name Flags
out
outOff
protected int doFinal(byte[], int, byte, int);
descriptor: ([BIBI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
iflt 1
iload 4
bipush 7
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "'partialBits' must be in the range [0,7]"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 3
iconst_1
iload 4
ishl
iconst_1
isub
iand
iconst_2
iload 4
ishl
ior
istore 5
start local 5 3: iload 4
iconst_2
iadd
istore 6
start local 6 4: iload 6
bipush 8
if_icmplt 8
5: aload 0
iconst_1
newarray 8
dup
iconst_0
iload 5
i2b
bastore
iconst_0
iconst_1
invokevirtual org.bouncycastle.crypto.digests.SHA3Digest.absorb:([BII)V
6: iinc 6 -8
7: iload 5
bipush 8
iushr
istore 5
8: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 2
iload 5
i2b
iload 6
invokespecial org.bouncycastle.crypto.digests.KeccakDigest.doFinal:([BIBI)I
ireturn
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 9 0 this Lorg/bouncycastle/crypto/digests/SHA3Digest;
0 9 1 out [B
0 9 2 outOff I
0 9 3 partialByte B
0 9 4 partialBits I
3 9 5 finalInput I
4 9 6 finalBits I
MethodParameters:
Name Flags
out
outOff
partialByte
partialBits
}
SourceFile: "SHA3Digest.java"