OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:memory_blocks
(Results
1 - 4
of
4
) sorted by relevancy
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
argon2.c
31
uint32_t
memory_blocks
, segment_length;
local in function:argon2_ctx
44
/* Minimum
memory_blocks
= 8L blocks, where L is the number of lanes */
45
memory_blocks
= context->m_cost;
47
if (
memory_blocks
< 2 * ARGON2_SYNC_POINTS * context->lanes) {
48
memory_blocks
= 2 * ARGON2_SYNC_POINTS * context->lanes;
51
segment_length =
memory_blocks
/ (context->lanes * ARGON2_SYNC_POINTS);
53
memory_blocks
= segment_length * (context->lanes * ARGON2_SYNC_POINTS);
58
instance.
memory_blocks
=
memory_blocks
;
argon2.c
31
uint32_t
memory_blocks
, segment_length;
local in function:argon2_ctx
44
/* Minimum
memory_blocks
= 8L blocks, where L is the number of lanes */
45
memory_blocks
= context->m_cost;
47
if (
memory_blocks
< 2 * ARGON2_SYNC_POINTS * context->lanes) {
48
memory_blocks
= 2 * ARGON2_SYNC_POINTS * context->lanes;
51
segment_length =
memory_blocks
/ (context->lanes * ARGON2_SYNC_POINTS);
53
memory_blocks
= segment_length * (context->lanes * ARGON2_SYNC_POINTS);
58
instance.
memory_blocks
=
memory_blocks
;
argon2-core.h
100
uint32_t
memory_blocks
; /* Number of blocks in memory */
member in struct:Argon2_instance_t
argon2-core.h
100
uint32_t
memory_blocks
; /* Number of blocks in memory */
member in struct:Argon2_instance_t
Completed in 56 milliseconds
Indexes created Wed Sep 24 05:09:52 GMT 2025