Do not wipe the workspace after argon2 completes
The overhead can be really prohibitive on servers.
This commit is contained in:
parent
21c1a3160c
commit
ec67b0890f
@ -69,7 +69,7 @@
|
|||||||
#define ARGON2_FLAG_CLEAR_PASSWORD (UINT32_C(1) << 0)
|
#define ARGON2_FLAG_CLEAR_PASSWORD (UINT32_C(1) << 0)
|
||||||
#define ARGON2_FLAG_CLEAR_SECRET (UINT32_C(1) << 1)
|
#define ARGON2_FLAG_CLEAR_SECRET (UINT32_C(1) << 1)
|
||||||
#define ARGON2_FLAG_CLEAR_MEMORY (UINT32_C(1) << 2)
|
#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 */
|
/* Error codes */
|
||||||
typedef enum Argon2_ErrorCodes {
|
typedef enum Argon2_ErrorCodes {
|
||||||
|
Loading…
Reference in New Issue
Block a user