Re: Public key validation for ECDSA

2007-03-03 Thread Nils Larsch
Victor Duchovni wrote: On Fri, Mar 02, 2007 at 05:56:24PM -0500, Xiaoyu Ruan wrote: Thanks. Refer to the sample test given in PKV.txt in http://csrc.nist.gov/cryptval/dss/ecdsatestvectors.zip. I tried EC_KEY_check_key() against six NIST recommended EC curves P-192 P-224 K-163 K-233 B-163

Re: Public key validation for ECDSA

2007-03-02 Thread Nils Larsch
Xiaoyu Ruan wrote: Hi dear fellows, I would like to know if there is any function(s) in OpenSSL that handles public key validation for ECDSA. Given a point (public key) and a curve, I would like to test if this point is a valid public key for this curve. have a look at EC_KEY_check_key

RE: Public key validation for ECDSA

2007-03-02 Thread Xiaoyu Ruan
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch Sent: Friday, March 02, 2007 2:24 PM To: openssl-users@openssl.org Subject: Re: Public key validation for ECDSA Xiaoyu Ruan wrote: Hi dear fellows, I would like to know if there is any function(s) in OpenSSL that handles

Re: Public key validation for ECDSA

2007-03-02 Thread Victor Duchovni
On Fri, Mar 02, 2007 at 05:56:24PM -0500, Xiaoyu Ruan wrote: Thanks. Refer to the sample test given in PKV.txt in http://csrc.nist.gov/cryptval/dss/ecdsatestvectors.zip. I tried EC_KEY_check_key() against six NIST recommended EC curves P-192 P-224 K-163 K-233 B-163 B-233. For curves P-192

Public key validation for ECDSA

2007-03-01 Thread Xiaoyu Ruan
Hi dear fellows, I would like to know if there is any function(s) in OpenSSL that handles public key validation for ECDSA. Given a point (public key) and a curve, I would like to test if this point is a valid public key for this curve. There is a function EC_POINT_is_on_curve