package org.bouncycastle.crypto.ec;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class ECPair {
    private final org.bouncycastle.math.ec.ECPoint a;
    private final org.bouncycastle.math.ec.ECPoint b;

    public boolean a(org.bouncycastle.crypto.ec.ECPair eCPair) {
        return eCPair.b().e(b()) && eCPair.c().e(c());
    }

    public org.bouncycastle.math.ec.ECPoint b() {
        return this.a;
    }

    public org.bouncycastle.math.ec.ECPoint c() {
        return this.b;
    }

    public boolean equals(java.lang.Object obj) {
        if (obj instanceof org.bouncycastle.crypto.ec.ECPair) {
            return a((org.bouncycastle.crypto.ec.ECPair) obj);
        }
        return false;
    }

    public int hashCode() {
        return this.a.hashCode() + (this.b.hashCode() * 37);
    }
}
