[EMAIL PROTECTED] wrote:

I'm getting a EC_R_POINT_IS_NOT_ON_CURVE when using _EC_SECG_PRIME_160R1 for the following public key:

X:        7B AE 41 B9 06 CF B6 FC D4 5B 8C 17 2F B8 30 59 E0 29 30 1C
Y:        FB 5C 39 C6 76 15 AB E4 B3 86 86 BA 8D 56 7D 49 08 A3 E8 1E
Z:        1

If I modify the function EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) line 109 as follows:

#if 0
                meth = EC_GFp_mont_method();
#else
                    meth = EC_GFp_simple_method();
#endif

It runs without errors.

Any thoughts?

strange, I just wrote a very simple test program with your point
and it works ...
What did you exactly do ? Does ectest etc. run without errors ?

Cheers,
Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to