what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzdj.java

64 lines
2.2 KiB
Java

package com.google.android.gms.internal.p002firebaseauthapi;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.IntBuffer;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* loaded from: classes2.dex */
final class zzdj {
private static final int[] zza = zzd(new byte[]{101, 120, ISO7816.INS_MANAGE_CHANNEL, 97, 110, ISOFileInfo.FMD_BYTE, 32, 51, ISO7816.INS_INCREASE, 45, ISOFileInfo.FCP_BYTE, 121, 116, 101, 32, 107});
static void zza(int[] iArr, int i, int i2, int i3, int i4) {
int i5 = iArr[i] + iArr[i2];
iArr[i] = i5;
int i6 = i5 ^ iArr[i4];
int i7 = (i6 << 16) | (i6 >>> (-16));
iArr[i4] = i7;
int i8 = iArr[i3] + i7;
iArr[i3] = i8;
int i9 = iArr[i2] ^ i8;
int i10 = (i9 << 12) | (i9 >>> (-12));
iArr[i2] = i10;
int i11 = iArr[i] + i10;
iArr[i] = i11;
int i12 = iArr[i4] ^ i11;
int i13 = (i12 << 8) | (i12 >>> (-8));
iArr[i4] = i13;
int i14 = iArr[i3] + i13;
iArr[i3] = i14;
int i15 = iArr[i2] ^ i14;
iArr[i2] = (i15 << 7) | (i15 >>> (-7));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static void zzb(int[] iArr, int[] iArr2) {
int[] iArr3 = zza;
System.arraycopy(iArr3, 0, iArr, 0, iArr3.length);
System.arraycopy(iArr2, 0, iArr, iArr3.length, 8);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static void zzc(int[] iArr) {
for (int i = 0; i < 10; i++) {
zza(iArr, 0, 4, 8, 12);
zza(iArr, 1, 5, 9, 13);
zza(iArr, 2, 6, 10, 14);
zza(iArr, 3, 7, 11, 15);
zza(iArr, 0, 5, 10, 15);
zza(iArr, 1, 6, 11, 12);
zza(iArr, 2, 7, 8, 13);
zza(iArr, 3, 4, 9, 14);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int[] zzd(byte[] bArr) {
IntBuffer asIntBuffer = ByteBuffer.wrap(bArr).order(ByteOrder.LITTLE_ENDIAN).asIntBuffer();
int[] iArr = new int[asIntBuffer.remaining()];
asIntBuffer.get(iArr);
return iArr;
}
}