Do not wipe the workspace after argon2 completes

The overhead can be really prohibitive on servers.
This commit is contained in:
Frank Denis 2017-12-11 23:36:38 +01:00
parent 21c1a3160c
commit ec67b0890f

View File

@ -69,7 +69,7 @@
#define ARGON2_FLAG_CLEAR_PASSWORD (UINT32_C(1) << 0)
#define ARGON2_FLAG_CLEAR_SECRET (UINT32_C(1) << 1)
#define ARGON2_FLAG_CLEAR_MEMORY (UINT32_C(1) << 2)
#define ARGON2_DEFAULT_FLAGS (ARGON2_FLAG_CLEAR_MEMORY)
#define ARGON2_DEFAULT_FLAGS (UINT32_C(0))
/* Error codes */
typedef enum Argon2_ErrorCodes {