124 lines
12 KiB
Java
124 lines
12 KiB
Java
package o;
|
|
|
|
import com.google.zxing.FormatException;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
import org.jmrtd.cbeff.ISO781611;
|
|
|
|
/* renamed from: o.Hnn, reason: case insensitive filesystem */
|
|
/* loaded from: classes2.dex */
|
|
public final class C0480Hnn {
|
|
public final int[] a;
|
|
public final int b;
|
|
public final Sts[] c;
|
|
public final int e;
|
|
private static final int[] h = {31892, 34236, 39577, 42195, 48118, 51042, 55367, 58893, 63784, 68472, 70749, 76311, 79154, 84390, 87683, 92361, 96236, 102084, 102881, 110507, 110734, 117786, 119615, 126325, 127568, 133589, 136944, 141498, 145311, 150283, 152622, 158308, 161089, 167017};
|
|
private static final C0480Hnn[] d = d();
|
|
|
|
private C0480Hnn(int i, int[] iArr, Sts... stsArr) {
|
|
this.e = i;
|
|
this.a = iArr;
|
|
this.c = stsArr;
|
|
int i2 = stsArr[0].b;
|
|
int i3 = 0;
|
|
for (IeS ieS : stsArr[0].e) {
|
|
i3 += ieS.a * (ieS.c + i2);
|
|
}
|
|
this.b = i3;
|
|
}
|
|
|
|
public static C0480Hnn c(int i) throws FormatException {
|
|
if (i % 4 != 1) {
|
|
throw FormatException.c();
|
|
}
|
|
try {
|
|
int i2 = (i - 17) / 4;
|
|
if (i2 <= 0 || i2 > 40) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
return d[i2 - 1];
|
|
} catch (IllegalArgumentException unused) {
|
|
throw FormatException.c();
|
|
}
|
|
}
|
|
|
|
public static C0480Hnn a(int i) {
|
|
if (i <= 0 || i > 40) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
return d[i - 1];
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static C0480Hnn e(int i) {
|
|
int i2 = Integer.MAX_VALUE;
|
|
int i3 = 0;
|
|
int i4 = 0;
|
|
while (true) {
|
|
int[] iArr = h;
|
|
if (i3 >= iArr.length) {
|
|
if (i2 > 3) {
|
|
return null;
|
|
}
|
|
if (i4 <= 0 || i4 > 40) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
return d[i4 - 1];
|
|
}
|
|
int i5 = iArr[i3];
|
|
if (i5 == i) {
|
|
int i6 = i3 + 7;
|
|
if (i6 <= 0 || i6 > 40) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
return d[i3 + 6];
|
|
}
|
|
int c = EFY.c(i, i5);
|
|
if (c < i2) {
|
|
i4 = i3 + 7;
|
|
i2 = c;
|
|
}
|
|
i3++;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.Hnn$Sts */
|
|
/* loaded from: classes2.dex */
|
|
public static final class Sts {
|
|
public final int b;
|
|
final IeS[] e;
|
|
|
|
Sts(int i, IeS... ieSArr) {
|
|
this.b = i;
|
|
this.e = ieSArr;
|
|
}
|
|
|
|
public final int d() {
|
|
int i = 0;
|
|
for (IeS ieS : this.e) {
|
|
i += ieS.a;
|
|
}
|
|
return i;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.Hnn$IeS */
|
|
/* loaded from: classes2.dex */
|
|
public static final class IeS {
|
|
final int a;
|
|
final int c;
|
|
|
|
IeS(int i, int i2) {
|
|
this.a = i;
|
|
this.c = i2;
|
|
}
|
|
}
|
|
|
|
public final String toString() {
|
|
return String.valueOf(this.e);
|
|
}
|
|
|
|
private static C0480Hnn[] d() {
|
|
return new C0480Hnn[]{new C0480Hnn(1, new int[0], new Sts(7, new IeS(1, 19)), new Sts(10, new IeS(1, 16)), new Sts(13, new IeS(1, 13)), new Sts(17, new IeS(1, 9))), new C0480Hnn(2, new int[]{6, 18}, new Sts(10, new IeS(1, 34)), new Sts(16, new IeS(1, 28)), new Sts(22, new IeS(1, 22)), new Sts(28, new IeS(1, 16))), new C0480Hnn(3, new int[]{6, 22}, new Sts(15, new IeS(1, 55)), new Sts(26, new IeS(1, 44)), new Sts(18, new IeS(2, 17)), new Sts(22, new IeS(2, 13))), new C0480Hnn(4, new int[]{6, 26}, new Sts(20, new IeS(1, 80)), new Sts(18, new IeS(2, 32)), new Sts(26, new IeS(2, 24)), new Sts(16, new IeS(4, 9))), new C0480Hnn(5, new int[]{6, 30}, new Sts(26, new IeS(1, 108)), new Sts(24, new IeS(2, 43)), new Sts(18, new IeS(2, 15), new IeS(2, 16)), new Sts(22, new IeS(2, 11), new IeS(2, 12))), new C0480Hnn(6, new int[]{6, 34}, new Sts(18, new IeS(2, 68)), new Sts(16, new IeS(4, 27)), new Sts(24, new IeS(4, 19)), new Sts(28, new IeS(4, 15))), new C0480Hnn(7, new int[]{6, 22, 38}, new Sts(20, new IeS(2, 78)), new Sts(18, new IeS(4, 31)), new Sts(18, new IeS(2, 14), new IeS(4, 15)), new Sts(26, new IeS(4, 13), new IeS(1, 14))), new C0480Hnn(8, new int[]{6, 24, 42}, new Sts(24, new IeS(2, 97)), new Sts(22, new IeS(2, 38), new IeS(2, 39)), new Sts(22, new IeS(4, 18), new IeS(2, 19)), new Sts(26, new IeS(4, 14), new IeS(2, 15))), new C0480Hnn(9, new int[]{6, 26, 46}, new Sts(30, new IeS(2, 116)), new Sts(22, new IeS(3, 36), new IeS(2, 37)), new Sts(20, new IeS(4, 16), new IeS(4, 17)), new Sts(24, new IeS(4, 12), new IeS(4, 13))), new C0480Hnn(10, new int[]{6, 28, 50}, new Sts(18, new IeS(2, 68), new IeS(2, 69)), new Sts(26, new IeS(4, 43), new IeS(1, 44)), new Sts(24, new IeS(6, 19), new IeS(2, 20)), new Sts(28, new IeS(6, 15), new IeS(2, 16))), new C0480Hnn(11, new int[]{6, 30, 54}, new Sts(20, new IeS(4, 81)), new Sts(30, new IeS(1, 50), new IeS(4, 51)), new Sts(28, new IeS(4, 22), new IeS(4, 23)), new Sts(24, new IeS(3, 12), new IeS(8, 13))), new C0480Hnn(12, new int[]{6, 32, 58}, new Sts(24, new IeS(2, 92), new IeS(2, 93)), new Sts(22, new IeS(6, 36), new IeS(2, 37)), new Sts(26, new IeS(4, 20), new IeS(6, 21)), new Sts(28, new IeS(7, 14), new IeS(4, 15))), new C0480Hnn(13, new int[]{6, 34, 62}, new Sts(26, new IeS(4, 107)), new Sts(22, new IeS(8, 37), new IeS(1, 38)), new Sts(24, new IeS(8, 20), new IeS(4, 21)), new Sts(22, new IeS(12, 11), new IeS(4, 12))), new C0480Hnn(14, new int[]{6, 26, 46, 66}, new Sts(30, new IeS(3, 115), new IeS(1, 116)), new Sts(24, new IeS(4, 40), new IeS(5, 41)), new Sts(20, new IeS(11, 16), new IeS(5, 17)), new Sts(24, new IeS(11, 12), new IeS(5, 13))), new C0480Hnn(15, new int[]{6, 26, 48, 70}, new Sts(22, new IeS(5, 87), new IeS(1, 88)), new Sts(24, new IeS(5, 41), new IeS(5, 42)), new Sts(30, new IeS(5, 24), new IeS(7, 25)), new Sts(24, new IeS(11, 12), new IeS(7, 13))), new C0480Hnn(16, new int[]{6, 26, 50, 74}, new Sts(24, new IeS(5, 98), new IeS(1, 99)), new Sts(28, new IeS(7, 45), new IeS(3, 46)), new Sts(24, new IeS(15, 19), new IeS(2, 20)), new Sts(30, new IeS(3, 15), new IeS(13, 16))), new C0480Hnn(17, new int[]{6, 30, 54, 78}, new Sts(28, new IeS(1, 107), new IeS(5, 108)), new Sts(28, new IeS(10, 46), new IeS(1, 47)), new Sts(28, new IeS(1, 22), new IeS(15, 23)), new Sts(28, new IeS(2, 14), new IeS(17, 15))), new C0480Hnn(18, new int[]{6, 30, 56, 82}, new Sts(30, new IeS(5, 120), new IeS(1, 121)), new Sts(26, new IeS(9, 43), new IeS(4, 44)), new Sts(28, new IeS(17, 22), new IeS(1, 23)), new Sts(28, new IeS(2, 14), new IeS(19, 15))), new C0480Hnn(19, new int[]{6, 30, 58, 86}, new Sts(28, new IeS(3, 113), new IeS(4, 114)), new Sts(26, new IeS(3, 44), new IeS(11, 45)), new Sts(26, new IeS(17, 21), new IeS(4, 22)), new Sts(26, new IeS(9, 13), new IeS(16, 14))), new C0480Hnn(20, new int[]{6, 34, 62, 90}, new Sts(28, new IeS(3, 107), new IeS(5, 108)), new Sts(26, new IeS(3, 41), new IeS(13, 42)), new Sts(30, new IeS(15, 24), new IeS(5, 25)), new Sts(28, new IeS(15, 15), new IeS(10, 16))), new C0480Hnn(21, new int[]{6, 28, 50, 72, 94}, new Sts(28, new IeS(4, 116), new IeS(4, 117)), new Sts(26, new IeS(17, 42)), new Sts(28, new IeS(17, 22), new IeS(6, 23)), new Sts(30, new IeS(19, 16), new IeS(6, 17))), new C0480Hnn(22, new int[]{6, 26, 50, 74, 98}, new Sts(28, new IeS(2, 111), new IeS(7, 112)), new Sts(28, new IeS(17, 46)), new Sts(30, new IeS(7, 24), new IeS(16, 25)), new Sts(24, new IeS(34, 13))), new C0480Hnn(23, new int[]{6, 30, 54, 78, 102}, new Sts(30, new IeS(4, 121), new IeS(5, 122)), new Sts(28, new IeS(4, 47), new IeS(14, 48)), new Sts(30, new IeS(11, 24), new IeS(14, 25)), new Sts(30, new IeS(16, 15), new IeS(14, 16))), new C0480Hnn(24, new int[]{6, 28, 54, 80, 106}, new Sts(30, new IeS(6, 117), new IeS(4, 118)), new Sts(28, new IeS(6, 45), new IeS(14, 46)), new Sts(30, new IeS(11, 24), new IeS(16, 25)), new Sts(30, new IeS(30, 16), new IeS(2, 17))), new C0480Hnn(25, new int[]{6, 32, 58, 84, 110}, new Sts(26, new IeS(8, 106), new IeS(4, 107)), new Sts(28, new IeS(8, 47), new IeS(13, 48)), new Sts(30, new IeS(7, 24), new IeS(22, 25)), new Sts(30, new IeS(22, 15), new IeS(13, 16))), new C0480Hnn(26, new int[]{6, 30, 58, 86, 114}, new Sts(28, new IeS(10, 114), new IeS(2, 115)), new Sts(28, new IeS(19, 46), new IeS(4, 47)), new Sts(28, new IeS(28, 22), new IeS(6, 23)), new Sts(30, new IeS(33, 16), new IeS(4, 17))), new C0480Hnn(27, new int[]{6, 34, 62, 90, 118}, new Sts(30, new IeS(8, 122), new IeS(4, 123)), new Sts(28, new IeS(22, 45), new IeS(3, 46)), new Sts(30, new IeS(8, 23), new IeS(26, 24)), new Sts(30, new IeS(12, 15), new IeS(28, 16))), new C0480Hnn(28, new int[]{6, 26, 50, 74, 98, 122}, new Sts(30, new IeS(3, 117), new IeS(10, 118)), new Sts(28, new IeS(3, 45), new IeS(23, 46)), new Sts(30, new IeS(4, 24), new IeS(31, 25)), new Sts(30, new IeS(11, 15), new IeS(31, 16))), new C0480Hnn(29, new int[]{6, 30, 54, 78, 102, 126}, new Sts(30, new IeS(7, 116), new IeS(7, 117)), new Sts(28, new IeS(21, 45), new IeS(7, 46)), new Sts(30, new IeS(1, 23), new IeS(37, 24)), new Sts(30, new IeS(19, 15), new IeS(26, 16))), new C0480Hnn(30, new int[]{6, 26, 52, 78, 104, ISO781611.BIOMETRIC_SUBTYPE_TAG}, new Sts(30, new IeS(5, 115), new IeS(10, 116)), new Sts(28, new IeS(19, 47), new IeS(10, 48)), new Sts(30, new IeS(15, 24), new IeS(25, 25)), new Sts(30, new IeS(23, 15), new IeS(25, 16))), new C0480Hnn(31, new int[]{6, 30, 56, 82, 108, 134}, new Sts(30, new IeS(13, 115), new IeS(3, 116)), new Sts(28, new IeS(2, 46), new IeS(29, 47)), new Sts(30, new IeS(42, 24), new IeS(1, 25)), new Sts(30, new IeS(23, 15), new IeS(28, 16))), new C0480Hnn(32, new int[]{6, 34, 60, 86, 112, CipherSuite.TLS_PSK_WITH_RC4_128_SHA}, new Sts(30, new IeS(17, 115)), new Sts(28, new IeS(10, 46), new IeS(23, 47)), new Sts(30, new IeS(10, 24), new IeS(35, 25)), new Sts(30, new IeS(19, 15), new IeS(35, 16))), new C0480Hnn(33, new int[]{6, 30, 58, 86, 114, 142}, new Sts(30, new IeS(17, 115), new IeS(1, 116)), new Sts(28, new IeS(14, 46), new IeS(21, 47)), new Sts(30, new IeS(29, 24), new IeS(19, 25)), new Sts(30, new IeS(11, 15), new IeS(46, 16))), new C0480Hnn(34, new int[]{6, 34, 62, 90, 118, CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA}, new Sts(30, new IeS(13, 115), new IeS(6, 116)), new Sts(28, new IeS(14, 46), new IeS(23, 47)), new Sts(30, new IeS(44, 24), new IeS(7, 25)), new Sts(30, new IeS(59, 16), new IeS(1, 17))), new C0480Hnn(35, new int[]{6, 30, 54, 78, 102, 126, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA}, new Sts(30, new IeS(12, 121), new IeS(7, 122)), new Sts(28, new IeS(12, 47), new IeS(26, 48)), new Sts(30, new IeS(39, 24), new IeS(14, 25)), new Sts(30, new IeS(22, 15), new IeS(41, 16))), new C0480Hnn(36, new int[]{6, 24, 50, 76, 102, 128, CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA}, new Sts(30, new IeS(6, 121), new IeS(14, 122)), new Sts(28, new IeS(6, 47), new IeS(34, 48)), new Sts(30, new IeS(46, 24), new IeS(10, 25)), new Sts(30, new IeS(2, 15), new IeS(64, 16))), new C0480Hnn(37, new int[]{6, 28, 54, 80, 106, CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 158}, new Sts(30, new IeS(17, 122), new IeS(4, 123)), new Sts(28, new IeS(29, 46), new IeS(14, 47)), new Sts(30, new IeS(49, 24), new IeS(10, 25)), new Sts(30, new IeS(24, 15), new IeS(46, 16))), new C0480Hnn(38, new int[]{6, 32, 58, 84, 110, 136, CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256}, new Sts(30, new IeS(4, 122), new IeS(18, 123)), new Sts(28, new IeS(13, 46), new IeS(32, 47)), new Sts(30, new IeS(48, 24), new IeS(14, 25)), new Sts(30, new IeS(42, 15), new IeS(32, 16))), new C0480Hnn(39, new int[]{6, 26, 54, 82, 110, CipherSuite.TLS_PSK_WITH_RC4_128_SHA, CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256}, new Sts(30, new IeS(20, 117), new IeS(4, 118)), new Sts(28, new IeS(40, 47), new IeS(7, 48)), new Sts(30, new IeS(43, 24), new IeS(22, 25)), new Sts(30, new IeS(10, 15), new IeS(67, 16))), new C0480Hnn(40, new int[]{6, 30, 58, 86, 114, 142, CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256}, new Sts(30, new IeS(19, 118), new IeS(6, 119)), new Sts(28, new IeS(18, 47), new IeS(31, 48)), new Sts(30, new IeS(34, 24), new IeS(34, 25)), new Sts(30, new IeS(20, 15), new IeS(61, 16)))};
|
|
}
|
|
}
|