package org.bouncycastle.crypto.params;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class GOST3410Parameters implements org.bouncycastle.crypto.CipherParameters {
    private java.math.BigInteger a;
    private java.math.BigInteger b;
    private java.math.BigInteger c;
    private org.bouncycastle.crypto.params.GOST3410ValidationParameters d;

    public GOST3410Parameters(java.math.BigInteger bigInteger, java.math.BigInteger bigInteger2, java.math.BigInteger bigInteger3) {
        this.a = bigInteger;
        this.b = bigInteger2;
        this.c = bigInteger3;
    }

    public java.math.BigInteger a() {
        return this.c;
    }

    public java.math.BigInteger b() {
        return this.a;
    }

    public java.math.BigInteger c() {
        return this.b;
    }

    public boolean equals(java.lang.Object obj) {
        if (!(obj instanceof org.bouncycastle.crypto.params.GOST3410Parameters)) {
            return false;
        }
        org.bouncycastle.crypto.params.GOST3410Parameters gOST3410Parameters = (org.bouncycastle.crypto.params.GOST3410Parameters) obj;
        return gOST3410Parameters.b().equals(this.a) && gOST3410Parameters.c().equals(this.b) && gOST3410Parameters.a().equals(this.c);
    }

    public int hashCode() {
        return this.c.hashCode() ^ (this.a.hashCode() ^ this.b.hashCode());
    }

    public GOST3410Parameters(java.math.BigInteger bigInteger, java.math.BigInteger bigInteger2, java.math.BigInteger bigInteger3, org.bouncycastle.crypto.params.GOST3410ValidationParameters gOST3410ValidationParameters) {
        this.c = bigInteger3;
        this.a = bigInteger;
        this.b = bigInteger2;
        this.d = gOST3410ValidationParameters;
    }
}
