41 lines
1.4 KiB
Java
41 lines
1.4 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import java.security.GeneralSecurityException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzcy extends zzgc {
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzcy() {
|
|
super(zzlm.class, new zzcw(zzap.class));
|
|
}
|
|
|
|
@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 zzlm.zzd(zzaccVar, zzacs.zza());
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final /* synthetic */ void zze(zzaek zzaekVar) throws GeneralSecurityException {
|
|
zzlm zzlmVar = (zzlm) zzaekVar;
|
|
zzqs.zzc(zzlmVar.zza(), 0);
|
|
if (zzlmVar.zze().zzd() != 32) {
|
|
throw new GeneralSecurityException("invalid ChaCha20Poly1305Key: incorrect key length");
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final String zzd() {
|
|
return "type.googleapis.com/google.crypto.tink.ChaCha20Poly1305Key";
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final zzgb zza() {
|
|
return new zzcx(this, zzlp.class);
|
|
}
|
|
}
|