> Hi,
>
> I am writing an application that using openssl to do some encryption and
> decryption. I am wondering if there is a way, on the command line or
> otherwise, to make sure that no memory that OPENSSL is using is ever
> paged out to disk? I want to make sure that after the program is done
> there is no way to get the decrypted data..
>
> Thanks,
> Bram Cymet

You can replace OpenSSL's memory allocator with your own with the
CRYPTO_set_mem[_ex]_functions and CRYPTO_set_locked_mem[_ex]_functions
functions. If your platform provides a way to provide this assurance, you
can make sure OpenSSL uses it.

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to