mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
16 lines
214 B
C++
16 lines
214 B
C++
#include <xrpl/crypto/secure_erase.h>
|
|
|
|
#include <openssl/crypto.h>
|
|
|
|
#include <cstddef>
|
|
|
|
namespace xrpl {
|
|
|
|
void
|
|
secureErase(void* dest, std::size_t bytes)
|
|
{
|
|
OPENSSL_cleanse(dest, bytes);
|
|
}
|
|
|
|
} // namespace xrpl
|