diff --git a/lib/crypto_backend/argon2/core.c b/lib/crypto_backend/argon2/core.c index 0aced16a..87818524 100644 --- a/lib/crypto_backend/argon2/core.c +++ b/lib/crypto_backend/argon2/core.c @@ -25,7 +25,6 @@ #endif #define VC_GE_2005(version) (version >= 1400) -#include #include #include #include diff --git a/lib/crypto_backend/argon2/core.h b/lib/crypto_backend/argon2/core.h index d1070ea0..78000ba9 100644 --- a/lib/crypto_backend/argon2/core.h +++ b/lib/crypto_backend/argon2/core.h @@ -30,6 +30,7 @@ enum argon2_core_constants { ARGON2_QWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 8, ARGON2_OWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 16, ARGON2_HWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 32, + ARGON2_512BIT_WORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 64, /* Number of pseudo-random values generated by one call to Blake in Argon2i to diff --git a/lib/crypto_backend/argon2/thread.h b/lib/crypto_backend/argon2/thread.h index 3aa4d783..49d88367 100644 --- a/lib/crypto_backend/argon2/thread.h +++ b/lib/crypto_backend/argon2/thread.h @@ -46,7 +46,7 @@ typedef pthread_t argon2_thread_handle_t; * @param func A function pointer for the thread's entry point. Must not be * NULL. * @param args Pointer that is passed as an argument to @func. May be NULL. - * @return 0 if @handle and @func are valid pointers and a thread is successfuly + * @return 0 if @handle and @func are valid pointers and a thread is successfully * created. */ int argon2_thread_create(argon2_thread_handle_t *handle,