monero/src/crypto
moneromooo-monero 7193b89fe5 Scrub keys from memory just before scope end.
Partially implements #74.

Securely erases keys from memory after they are no longer needed. Might have a
performance impact, which I haven't measured (perf measurements aren't
generally reliable on laptops).

Thanks to @stoffu for the suggestion to specialize the pod_to_hex/hex_to_pod
functions. Using overloads + SFINAE instead generalizes it so other types can
be marked as scrubbed without adding more boilerplate.
2017-12-16 15:40:33 -07:00
..
crypto_ops_builder update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
CMakeLists.txt changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
aesb.c Replace tabs with two spaces for consistency with rest of codebase 2015-12-15 06:22:06 -08:00
blake256.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
blake256.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
chacha8.c moved all stuff to github 2014-03-03 22:07:58 +00:00
chacha8.h Scrub keys from memory just before scope end. 2017-12-16 15:40:33 -07:00
crypto-ops-data.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
crypto-ops.c add a version of ge_double_scalarmult_precomp_vartime with A precomp 2017-12-07 19:23:10 +00:00
crypto-ops.h add a version of ge_double_scalarmult_precomp_vartime with A precomp 2017-12-07 19:23:10 +00:00
crypto.cpp Subaddresses 2017-10-07 13:06:21 +09:00
crypto.h Scrub keys from memory just before scope end. 2017-12-16 15:40:33 -07:00
generic-ops.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
groestl.c use correct unsigned type 2015-08-23 21:10:24 +02:00
groestl.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
groestl_tables.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash-extra-blake.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash-extra-groestl.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash-extra-jh.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash-extra-skein.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash-ops.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash.h move checkpoints in a separate library 2017-09-25 21:16:26 +01:00
initializer.h make this build on SunOS/Solaris 2017-11-14 17:03:48 +00:00
jh.c moved all stuff to github 2014-03-03 22:07:58 +00:00
jh.h moved all stuff to github 2014-03-03 22:07:58 +00:00
keccak.c kaccak: remove unused return value 2017-11-11 11:20:48 +00:00
keccak.h kaccak: remove unused return value 2017-11-11 11:20:48 +00:00
oaes_config.h Update oaes_config.h 2014-05-17 15:39:46 -07:00
oaes_lib.c Build wallet with Android NDK 2017-01-05 01:11:05 +00:00
oaes_lib.h 0.8.8update 2014-05-25 13:06:40 -04:00
random.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
random.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
skein.c Changed to ..._HASHBITS everywhere for consistency 2016-10-29 14:59:06 +01:00
skein.h moved all stuff to github 2014-03-03 22:07:58 +00:00
skein_port.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
slow-hash.c Fix building with -DARCH=default -DNO_AES=ON 2017-10-06 08:47:03 +01:00
tree-hash.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00