Re: sessions reuse in openssl

2021-01-19 Thread Viktor Dukhovni
On Wed, Jan 20, 2021 at 11:33:21AM +0530, Harish Kulkarni wrote: > I am working on memory analysis of OpenSSL. One of the observation is the > memory allocated by d2i_X509() API (returned in x) is not being freed after > the connection is closed.. and this memory is stored as part of session.. I

Re: sessions reuse in openssl

2021-01-19 Thread Harish Kulkarni
I am working on memory analysis of openssl. One of the observation is the memory allocated by d2i_X509() API (returned in x) is not being freed after the connection is closed.. and this memory is stored as part of session.. i want to limit number of sessions which we cache for re-use.. or if possib

Re: sessions reuse in openssl

2021-01-19 Thread Viktor Dukhovni
On Wed, Jan 20, 2021 at 08:55:13AM +0530, Harish Kulkarni wrote: > For some experiments i want to stop session re-use in openssl.. is there a > way to stop reusing of same session?. Your question is not sufficiently specific. Are you looking to not reuse a session in an client or a server? Is t

sessions reuse in openssl

2021-01-19 Thread Harish Kulkarni
Hello All, For some experiments i want to stop session re-use in openssl.. is there a way to stop reusing of same session?. -thanks harish

Re: RSA-OAEP Certificate

2021-01-19 Thread Viktor Dukhovni
On Tue, Jan 19, 2021 at 06:26:23PM -0500, Russ Housley wrote: > I am looking a test certificate that contains an RSA-OAEP subject > public key (OID = id-RSAES-OAEP from RFC 4055) and is signed with > RSA-PSS (OID = id-RSASSA-PSS also from RFC 4055). I have not ben able > to find a way to generate

RSA-OAEP Certificate

2021-01-19 Thread Russ Housley
I am looking a test certificate that contains an RSA-OAEP subject public key (OID = id-RSAES-OAEP from RFC 4055) and is signed with RSA-PSS (OID = id-RSASSA-PSS also from RFC 4055). I have not ben able to find a way to generate such a certificate with OpenSSL. If you have a pointer to such a