I agree please add these patches.

OpenSC's libp11 and engine use ECDSA_set_ex_data, ECDSA_METHOD_new, ECDSA_METHOD_set_sign, ECDSA_METHOD_set_sign_setup and
ECDSA_METHOD_free. So any new code needs the equivalent functionality.
(I have not had a change to look at the new code,  but hope to in January, to see if OpenSC libp11 could support ECDH.)

They also use RSA_set_app_data()
You could also add the equivalent for EC_KEY

# define EC_KEY_set_app_data(s,arg)         EC_KEY_set_ex_data(s,0,arg)

On 12/22/2015 2:03 AM, Roumen Petrov wrote:
Hello,

After merge of ECDH and ECDSA and associating method to EC_KEY I would like to request some additional functionality.

External cryptographic modules may store addition information to key.
What about to define CRYPTO_EX_DATA for ec keys?
Proposed patch "0008-extra-data-for-EC_KEY.patch" - note that index CRYPTO_EX_INDEX is with gap in numbering but I would like patch to be minimal.


I would like to request external applications to be able to change method - see attached patch "0009-access-EC_KEY-method-property.patch".

Regards,
Roumen Petrov



_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

-- 

 Douglas E. Engert  <[email protected]>
 
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to