RE: Edwards and public key validation

2021-02-23 Thread john.hughes
Billy You are correct - this is for low level testing of PKCS#11 devices/tokens. Hence just looking at OpenSSL to see if there are any helper functions for Edwards. There are not. So I have nearly completed development of my own level functions . Now just in the process of testing against

RE: Edwards and public key validation

2021-02-21 Thread john.hughes
Thanks Billy for getting back to me. The bigger picture on this is that I have a very comprehensive test harness for testing PKCS#11 devices. I already have developed and successfully run tests that test Weierstrass curves. I have successfully tested many PKCS#11 tokens for their implementati

Edwards and public key validation

2021-02-20 Thread john.hughes
I want to implement a function that validates a public key produced by either ed25519 or ed448 - according to the tests in NIST SP 800-186 appendix D.1.3 There doesn't appear to be any helper functions to assist in this - at least for Edwards curves. I have implemented something for Weierst

[openssl-users] ec_point_is_compat

2019-01-24 Thread john.hughes
In a test harness I'm writing I'm adding in a facility to check the validity of an EC public key according to the 4 tests of X9.62. The curve and point I supply to EC_POINT_is_at_infinity works fine. However, when I come to use EC_POINT_is_on_curve it fails. The error return indicates the e