Files
rr3-apk/decompiled-community/sources/com/google/android/gms/internal/ads/zzgfr.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

65 lines
2.0 KiB
Java

package com.google.android.gms.internal.ads;
import java.security.GeneralSecurityException;
import java.security.InvalidAlgorithmParameterException;
/* loaded from: classes3.dex */
public final class zzgfr {
private Integer zza = null;
private Integer zzb = null;
private Integer zzc = null;
private zzgfs zzd = zzgfs.zzc;
private zzgfr() {
}
public /* synthetic */ zzgfr(zzgft zzgftVar) {
}
public final zzgfr zzc(int i) throws GeneralSecurityException {
this.zzc = 16;
return this;
}
public final zzgfr zzd(zzgfs zzgfsVar) {
this.zzd = zzgfsVar;
return this;
}
public final zzgfr zza(int i) throws GeneralSecurityException {
if (i != 12 && i != 16) {
throw new GeneralSecurityException(String.format("Invalid IV size in bytes %d; acceptable values have 12 or 16 bytes", Integer.valueOf(i)));
}
this.zzb = Integer.valueOf(i);
return this;
}
public final zzgfr zzb(int i) throws GeneralSecurityException {
if (i != 16 && i != 24 && i != 32) {
throw new InvalidAlgorithmParameterException(String.format("Invalid key size %d; only 16-byte, 24-byte and 32-byte AES keys are supported", Integer.valueOf(i)));
}
this.zza = Integer.valueOf(i);
return this;
}
public final zzgfu zze() throws GeneralSecurityException {
Integer num = this.zza;
if (num == null) {
throw new GeneralSecurityException("Key size is not set");
}
if (this.zzb == null) {
throw new GeneralSecurityException("IV size is not set");
}
if (this.zzd == null) {
throw new GeneralSecurityException("Variant is not set");
}
if (this.zzc == null) {
throw new GeneralSecurityException("Tag size is not set");
}
int intValue = num.intValue();
int intValue2 = this.zzb.intValue();
this.zzc.intValue();
return new zzgfu(intValue, intValue2, 16, this.zzd, null);
}
}