| 825 | */ |
| 826 | |
| 827 | Integer InverseLucas(const Integer &e, const Integer &m, const Integer &p, const Integer &q, const Integer &u) |
| 828 | { |
| 829 | Integer d = (m*m-4); |
| 830 | Integer p2 = p-Jacobi(d,p); |
| 831 | Integer q2 = q-Jacobi(d,q); |
| 832 | return CRT(Lucas(EuclideanMultiplicativeInverse(e,p2), m, p), p, Lucas(EuclideanMultiplicativeInverse(e,q2), m, q), q, u); |
| 833 | } |
| 834 | |
| 835 | Integer InverseLucas(const Integer &e, const Integer &m, const Integer &p, const Integer &q) |
| 836 | { |
nothing calls this directly
no test coverage detected