package com.google.android.gms.internal.p002firebaseauthapi; import java.security.GeneralSecurityException; /* loaded from: classes2.dex */ public final class zzcp extends zzgc { /* JADX INFO: Access modifiers changed from: package-private */ public zzcp() { super(zzkl.class, new zzcn(zzap.class)); } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ zzga zzg(int i, int i2, int i3) { zzkn zzb = zzko.zzb(); zzb.zza(i); zzkq zzb2 = zzkr.zzb(); zzb2.zza(16); zzb.zzb((zzkr) zzb2.zzi()); return new zzga((zzko) zzb.zzi(), i3); } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc public final zznr zzb() { return zznr.SYMMETRIC; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc public final /* synthetic */ zzaek zzc(zzacc zzaccVar) throws zzadn { return zzkl.zzd(zzaccVar, zzacs.zza()); } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc public final /* synthetic */ void zze(zzaek zzaekVar) throws GeneralSecurityException { zzkl zzklVar = (zzkl) zzaekVar; zzqs.zzc(zzklVar.zza(), 0); zzqs.zzb(zzklVar.zzf().zzd()); if (zzklVar.zze().zza() != 12 && zzklVar.zze().zza() != 16) { throw new GeneralSecurityException("invalid IV size; acceptable values have 12 or 16 bytes"); } } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc public final String zzd() { return "type.googleapis.com/google.crypto.tink.AesEaxKey"; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc public final zzgb zza() { return new zzco(this, zzko.class); } }