Re: Dumping key to file

2021-03-10 Thread Harish Kulkarni
Thank you all.. i will try and write back. -thanks harish On Wed, Mar 10, 2021 at 7:59 PM Matt Caswell wrote: > > > On 10/03/2021 13:35, Jeremy Harris wrote: > > On 10/03/2021 13:14, Harish Kulkarni wrote: > >> My application is built along with openssl library source code. We > >> want to > >

Re: Dumping key to file

2021-03-10 Thread Matt Caswell
On 10/03/2021 13:35, Jeremy Harris wrote: On 10/03/2021 13:14, Harish Kulkarni wrote: My application is built along with openssl library source code. We want to dump keys to a file for decrypting TLS flows from network captures.. is there any flag or environment variable which we can set dur

Re: Dumping key to file

2021-03-10 Thread Jeremy Harris
On 10/03/2021 13:14, Harish Kulkarni wrote: My application is built along with openssl library source code. We want to dump keys to a file for decrypting TLS flows from network captures.. is there any flag or environment variable which we can set during building application or while running appli

Dumping key to file

2021-03-10 Thread Harish Kulkarni
Hello All, My application is built along with openssl library source code. We want to dump keys to a file for decrypting TLS flows from network captures.. is there any flag or environment variable which we can set during building application or while running application. -thanks harish

Re: OpenSSL 3.0.0 APIs for creating an EVP_PKEY from a p256 private key octet string

2021-03-10 Thread Matt Caswell
On 10/03/2021 12:08, Stephen Farrell wrote: It seems a pity that one has to special case in two ways there (both keytype and groupname) but I can live with it, For X25519 you can actually pass a groupname of "x25519" through if you want to keep everything consistent. But it's not strictly n

Re: OpenSSL 3.0.0 APIs for creating an EVP_PKEY from a p256 private key octet string

2021-03-10 Thread Stephen Farrell
Thanks Matt, On 10/03/2021 09:12, Matt Caswell wrote: On 10/03/2021 00:53, Stephen Farrell wrote: Hiya, On 09/03/2021 03:09, Benjamin Kaduk wrote: I would have expected that the API should hide the differences other than the group name ... but these APIs are still pretty new to me, too. 

Re: OpenSSL 3.0.0 APIs for creating an EVP_PKEY from a p256 private key octet string

2021-03-10 Thread Matt Caswell
On 10/03/2021 00:53, Stephen Farrell wrote: Hiya, On 09/03/2021 03:09, Benjamin Kaduk wrote: I would have expected that the API should hide the differences other than the group name ... but these APIs are still pretty new to me, too.  If you can point me at your code I might have more to sa