RE: Engine updating a key's ex data in sign/encrypt method?

2019-07-24 Thread Lynch, Andrew
code review doesn't freak out... Regards, Andrew. -Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Matt Caswell Sent: Tuesday, July 23, 2019 10:28 AM To: openssl-users@openssl.org Subject: Re: Engine updating a key's ex data in sign/encrypt

Re: Engine updating a key's ex data in sign/encrypt method?

2019-07-23 Thread Matt Caswell
On 22/07/2019 17:44, Lynch, Andrew wrote: > Hi, > > I am wondering whether it is ok to update a key's ex data from within an > engine method that is using the key. This is with both OpenSSL 1.1.1a and > 1.0.2j. > > In my engine's load_privkey() method I connect to the HSM and obtain

Engine updating a key's ex data in sign/encrypt method?

2019-07-22 Thread Lynch, Andrew
Hi, I am wondering whether it is ok to update a key's ex data from within an engine method that is using the key. This is with both OpenSSL 1.1.1a and 1.0.2j. In my engine's load_privkey() method I connect to the HSM and obtain handles for a session and the key object. Both handles are then