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

59 lines
2.4 KiB
Java

package com.google.android.gms.internal.p002firebaseauthapi;
import java.security.GeneralSecurityException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes2.dex */
final class zzig extends zzgb {
final zzih zza;
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public zzig(zzih zzihVar, Class cls) {
super(cls);
this.zza = zzihVar;
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgb
public final /* synthetic */ zzaek zza(zzaek zzaekVar) throws GeneralSecurityException {
zzmw zzmwVar = (zzmw) zzaekVar;
zzms zzb = zzmt.zzb();
zzb.zzc(0);
zzb.zzb(zzmwVar.zzf());
zzb.zza(zzacc.zzn(zzqq.zza(zzmwVar.zza())));
return (zzmt) zzb.zzi();
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgb
public final /* synthetic */ zzaek zzb(zzacc zzaccVar) throws zzadn {
return zzmw.zze(zzaccVar, zzacs.zza());
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgb
public final Map zzc() throws GeneralSecurityException {
HashMap hashMap = new HashMap();
hashMap.put("HMAC_SHA256_128BITTAG", zzih.zzi(32, 16, 5, 1));
hashMap.put("HMAC_SHA256_128BITTAG_RAW", zzih.zzi(32, 16, 5, 3));
hashMap.put("HMAC_SHA256_256BITTAG", zzih.zzi(32, 32, 5, 1));
hashMap.put("HMAC_SHA256_256BITTAG_RAW", zzih.zzi(32, 32, 5, 3));
hashMap.put("HMAC_SHA512_128BITTAG", zzih.zzi(64, 16, 6, 1));
hashMap.put("HMAC_SHA512_128BITTAG_RAW", zzih.zzi(64, 16, 6, 3));
hashMap.put("HMAC_SHA512_256BITTAG", zzih.zzi(64, 32, 6, 1));
hashMap.put("HMAC_SHA512_256BITTAG_RAW", zzih.zzi(64, 32, 6, 3));
hashMap.put("HMAC_SHA512_512BITTAG", zzih.zzi(64, 64, 6, 1));
hashMap.put("HMAC_SHA512_512BITTAG_RAW", zzih.zzi(64, 64, 6, 3));
return Collections.unmodifiableMap(hashMap);
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgb
public final /* synthetic */ void zzd(zzaek zzaekVar) throws GeneralSecurityException {
zzmw zzmwVar = (zzmw) zzaekVar;
if (zzmwVar.zza() < 16) {
throw new GeneralSecurityException("key too short");
}
zzih.zzn(zzmwVar.zzf());
}
}