58 lines
1.5 KiB
Java
58 lines
1.5 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzhv extends zziv {
|
|
private final int zza;
|
|
private final int zzb;
|
|
private final zzht zzc;
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (!(obj instanceof zzhv)) {
|
|
return false;
|
|
}
|
|
zzhv zzhvVar = (zzhv) obj;
|
|
return zzhvVar.zza == this.zza && zzhvVar.zzb() == zzb() && zzhvVar.zzc == this.zzc;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int i = this.zzb;
|
|
return Arrays.hashCode(new Object[]{Integer.valueOf(i), this.zzc});
|
|
}
|
|
|
|
public final String toString() {
|
|
return "AES-CMAC Parameters (variant: " + String.valueOf(this.zzc) + ", " + this.zzb + "-byte tags, and " + this.zza + "-byte key)";
|
|
}
|
|
|
|
public final int zzb() {
|
|
zzht zzhtVar = this.zzc;
|
|
if (zzhtVar == zzht.zzd) {
|
|
return this.zzb;
|
|
}
|
|
if (zzhtVar == zzht.zza || zzhtVar == zzht.zzb || zzhtVar == zzht.zzc) {
|
|
return this.zzb + 5;
|
|
}
|
|
throw new IllegalStateException("Unknown variant");
|
|
}
|
|
|
|
public final boolean zzd() {
|
|
return this.zzc != zzht.zzd;
|
|
}
|
|
|
|
public final zzht zzc() {
|
|
return this.zzc;
|
|
}
|
|
|
|
public final int zza() {
|
|
return this.zza;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public /* synthetic */ zzhv(int i, int i2, zzht zzhtVar, zzhu zzhuVar) {
|
|
this.zza = i;
|
|
this.zzb = i2;
|
|
this.zzc = zzhtVar;
|
|
}
|
|
}
|