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