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

27 lines
902 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.p002firebaseauthapi;
import java.security.GeneralSecurityException;
import java.security.InvalidAlgorithmParameterException;
/* loaded from: classes2.dex */
public final class zzqo implements zzbm {
private final zzjk zza;
private final int zzb;
public zzqo(zzjk zzjkVar, int i) throws GeneralSecurityException {
this.zza = zzjkVar;
this.zzb = i;
if (i < 10) {
throw new InvalidAlgorithmParameterException("tag size too small, need at least 10 bytes");
}
zzjkVar.zza(new byte[0], i);
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzbm
public final void zza(byte[] bArr, byte[] bArr2) throws GeneralSecurityException {
if (!zzpp.zzb(this.zza.zza(bArr2, this.zzb), bArr)) {
throw new GeneralSecurityException("invalid MAC");
}
}
}