- if (!impl->mul(eU, ulen, tt, nlen, sk->curve)) {
- /*
- * Point multiplication may fail here only if the
- * EC implementation does not support the curve, or the
- * private key is incorrect (x is a multiple of the curve
- * order).
- */
- return 0;
- }
+ ulen = impl->mulgen(eU, tt, nlen, sk->curve);