what-the-bank/sources/org/bouncycastle/crypto/modes/gcm/BasicGCMMultiplier.java

19 lines
544 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.crypto.modes.gcm;
/* loaded from: classes6.dex */
public class BasicGCMMultiplier implements GCMMultiplier {
private int[] H;
@Override // org.bouncycastle.crypto.modes.gcm.GCMMultiplier
public void multiplyH(byte[] bArr) {
int[] asInts = GCMUtil.asInts(bArr);
GCMUtil.multiply(asInts, this.H);
GCMUtil.asBytes(asInts, bArr);
}
@Override // org.bouncycastle.crypto.modes.gcm.GCMMultiplier
public void init(byte[] bArr) {
this.H = GCMUtil.asInts(bArr);
}
}