diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-09-18 08:40:14 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-10-19 16:17:33 +0200 |
| commit | f4d1fc259b5a62580d952c180b1189ccaa6af1bc (patch) | |
| tree | 38a7786c54effd74d44d04e0394eccc987fca24a /src/test/allocator_tests.cpp | |
| parent | wallet: Change CCrypter to use vectors with secure allocator (diff) | |
| download | discoin-f4d1fc259b5a62580d952c180b1189ccaa6af1bc.tar.xz discoin-f4d1fc259b5a62580d952c180b1189ccaa6af1bc.zip | |
wallet: Get rid of LockObject and UnlockObject calls in key.h
Replace these with vectors allocated from the secure allocator.
This avoids mlock syscall churn on stack pages, as well as makes
it possible to get rid of these functions.
Please review this commit and the previous one carefully that
no `sizeof(vectortype)` remains in the memcpys and memcmps usage
(ick!), and `.data()` or `&vec[x]` is used as appropriate instead of
&vec.
Diffstat (limited to 'src/test/allocator_tests.cpp')
0 files changed, 0 insertions, 0 deletions