| 40 | } |
| 41 | |
| 42 | EC_POINT * GOSTR3410Curve::MulP (const BIGNUM * n) const |
| 43 | { |
| 44 | BN_CTX * ctx = BN_CTX_new (); |
| 45 | auto p = EC_POINT_new (m_Group); |
| 46 | EC_POINT_mul (m_Group, p, n, nullptr, nullptr, ctx); |
| 47 | BN_CTX_free (ctx); |
| 48 | return p; |
| 49 | } |
| 50 | |
| 51 | bool GOSTR3410Curve::GetXY (const EC_POINT * p, BIGNUM * x, BIGNUM * y) const |
| 52 | { |
no outgoing calls
no test coverage detected