public class org.bouncycastle.crypto.macs.OldHMac implements org.bouncycastle.crypto.Mac
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.macs.OldHMac
super_class: java.lang.Object
{
private static final int BLOCK_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final byte IPAD;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 54
private static final byte OPAD;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 92
private org.bouncycastle.crypto.Digest digest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0002) ACC_PRIVATE
private int digestSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] inputPad;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] outputPad;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.crypto.Digest);
descriptor: (Lorg/bouncycastle/crypto/Digest;)V
flags: (0x0001) ACC_PUBLIC
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
bipush 64
newarray 8
putfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
2: aload 0
bipush 64
newarray 8
putfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
3: aload 0
aload 1
putfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
4: aload 0
aload 1
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
putfield org.bouncycastle.crypto.macs.OldHMac.digestSize:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
0 6 1 digest Lorg/bouncycastle/crypto/Digest;
MethodParameters:
Name Flags
digest
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
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getAlgorithmName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/HMAC"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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/macs/OldHMac;
public org.bouncycastle.crypto.Digest getUnderlyingDigest();
descriptor: ()Lorg/bouncycastle/crypto/Digest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
public void init(org.bouncycastle.crypto.CipherParameters);
descriptor: (Lorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.reset:()V
1: aload 1
checkcast org.bouncycastle.crypto.params.KeyParameter
invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
astore 2
start local 2 2: aload 2
arraylength
bipush 64
if_icmple 11
3: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 2
iconst_0
aload 2
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
4: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
5: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digestSize:I
istore 3
start local 3 6: goto 9
7: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iload 3
iconst_0
bastore
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
if_icmplt 7
end local 3 10: goto 17
11: StackMap locals:
StackMap stack:
aload 2
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 2
arraylength
istore 3
start local 3 13: goto 16
14: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iload 3
iconst_0
bastore
15: iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
if_icmplt 14
end local 3 17: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
newarray 8
putfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
18: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: iconst_0
istore 3
start local 3 20: goto 23
21: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iload 3
dup2
baload
bipush 54
ixor
i2b
bastore
22: iinc 3 1
StackMap locals:
StackMap stack:
23: iload 3
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
if_icmplt 21
end local 3 24: iconst_0
istore 3
start local 3 25: goto 28
26: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
iload 3
dup2
baload
bipush 92
ixor
i2b
bastore
27: iinc 3 1
StackMap locals:
StackMap stack:
28: iload 3
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
arraylength
if_icmplt 26
end local 3 29: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
0 31 1 params Lorg/bouncycastle/crypto/CipherParameters;
2 31 2 key [B
6 10 3 i I
13 17 3 i I
20 24 3 i I
25 29 3 i I
MethodParameters:
Name Flags
params
public int getMacSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digestSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
public void update(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
iload 1
invokeinterface org.bouncycastle.crypto.Digest.update:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
0 2 1 in B
MethodParameters:
Name Flags
in
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iload 2
iload 3
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
0 2 1 in [B
0 2 2 inOff I
0 2 3 len I
MethodParameters:
Name Flags
in
inOff
len
public int doFinal(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digestSize:I
newarray 8
astore 3
start local 3 1: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 3
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
2: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.outputPad:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
3: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 3
iconst_0
aload 3
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
4: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iload 2
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
istore 4
start local 4 5: aload 0
invokevirtual org.bouncycastle.crypto.macs.OldHMac.reset:()V
6: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
0 7 1 out [B
0 7 2 outOff I
1 7 3 tmp [B
5 7 4 len I
MethodParameters:
Name Flags
out
outOff
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.reset:()V
1: aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.digest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
iconst_0
aload 0
getfield org.bouncycastle.crypto.macs.OldHMac.inputPad:[B
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/macs/OldHMac;
}
SourceFile: "OldHMac.java"