what-the-bank/sources/org/bouncycastle/crypto/params/GOST3410ValidationParameter...

52 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.crypto.params;
/* loaded from: classes6.dex */
public class GOST3410ValidationParameters {
private int c;
private long cL;
private int x0;
private long x0L;
public int hashCode() {
int i = this.x0;
int i2 = this.c;
long j = this.x0L;
long j2 = this.cL;
return ((((i ^ i2) ^ ((int) j)) ^ ((int) (j >> 32))) ^ ((int) j2)) ^ ((int) (j2 >> 32));
}
public long getX0L() {
return this.x0L;
}
public int getX0() {
return this.x0;
}
public long getCL() {
return this.cL;
}
public int getC() {
return this.c;
}
public boolean equals(Object obj) {
if (!(obj instanceof GOST3410ValidationParameters)) {
return false;
}
GOST3410ValidationParameters gOST3410ValidationParameters = (GOST3410ValidationParameters) obj;
return gOST3410ValidationParameters.c == this.c && gOST3410ValidationParameters.x0 == this.x0 && gOST3410ValidationParameters.cL == this.cL && gOST3410ValidationParameters.x0L == this.x0L;
}
public GOST3410ValidationParameters(long j, long j2) {
this.x0L = j;
this.cL = j2;
}
public GOST3410ValidationParameters(int i, int i2) {
this.x0 = i;
this.c = i2;
}
}