Home
last modified time | relevance | path

Searched refs:ARGON2_SYNC_POINTS (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2.c47 if (memory_blocks < 2 * ARGON2_SYNC_POINTS * context->lanes) { in argon2_ctx()
48 memory_blocks = 2 * ARGON2_SYNC_POINTS * context->lanes; in argon2_ctx()
51 segment_length = memory_blocks / (context->lanes * ARGON2_SYNC_POINTS); in argon2_ctx()
53 memory_blocks = segment_length * (context->lanes * ARGON2_SYNC_POINTS); in argon2_ctx()
60 instance.lane_length = segment_length * ARGON2_SYNC_POINTS; in argon2_ctx()
H A Dargon2.h32 #define ARGON2_SYNC_POINTS UINT32_C(4) macro
39 #define ARGON2_MIN_MEMORY (2 * ARGON2_SYNC_POINTS) /* 2 blocks per slice */
H A Dargon2-core.h199 start_position = (position->slice == ARGON2_SYNC_POINTS - 1) in index_alpha()
H A Dargon2-fill-block-ssse3.c161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ssse3()
H A Dargon2-fill-block-avx2.c162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx2()
H A Dargon2-fill-block-avx512f.c167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx512f()
H A Dargon2-fill-block-ref.c160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref()
H A Dargon2-core.c232 for (s = 0; s < ARGON2_SYNC_POINTS; ++s) { in fill_memory_blocks()