Commit f507d16b authored by Milan Broz's avatar Milan Broz

Update bundled Argon2 source.

parent dcce2edc
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#endif #endif
#define VC_GE_2005(version) (version >= 1400) #define VC_GE_2005(version) (version >= 1400)
#include <inttypes.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -30,6 +30,7 @@ enum argon2_core_constants { ...@@ -30,6 +30,7 @@ enum argon2_core_constants {
ARGON2_QWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 8, ARGON2_QWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 8,
ARGON2_OWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 16, ARGON2_OWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 16,
ARGON2_HWORDS_IN_BLOCK = ARGON2_BLOCK_SIZE / 32, 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 /* Number of pseudo-random values generated by one call to Blake in Argon2i
to to
......
...@@ -46,7 +46,7 @@ typedef pthread_t argon2_thread_handle_t; ...@@ -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 * @param func A function pointer for the thread's entry point. Must not be
* NULL. * NULL.
* @param args Pointer that is passed as an argument to @func. May 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. * created.
*/ */
int argon2_thread_create(argon2_thread_handle_t *handle, int argon2_thread_create(argon2_thread_handle_t *handle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment