luigix25 / SSLP

A secure way to transfer files between two peers, using certificates
5 stars 1 forks source link

Memory Still Reachable when RSAFinal is performed #17

Closed luigix25 closed 5 years ago

luigix25 commented 5 years ago

This happens both in client and in server ONLY when terminating the process using SIGINT ( ctrl c ) If both client or server, terminate without being forced, no memory is still reachable.

The number of bytes ( around 60k for verify, 300 for sign ) is costant no matter how many times RSA functions are called.

It may be possible due to OpenSSL library lazy deallocation of memory