OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:memory_blocks
(Results
1 - 5
of
5
) sorted by relevancy
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
argon2.c
31
uint32_t
memory_blocks
, segment_length;
local
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
/src/external/apache2/argon2/dist/phc-winner-argon2/src/
argon2.c
42
uint32_t
memory_blocks
, segment_length;
local
54
/* Minimum
memory_blocks
= 8L blocks, where L is the number of lanes */
55
memory_blocks
= context->m_cost;
57
if (
memory_blocks
< 2 * ARGON2_SYNC_POINTS * context->lanes) {
58
memory_blocks
= 2 * ARGON2_SYNC_POINTS * context->lanes;
61
segment_length =
memory_blocks
/ (context->lanes * ARGON2_SYNC_POINTS);
63
memory_blocks
= segment_length * (context->lanes * ARGON2_SYNC_POINTS);
68
instance.
memory_blocks
=
memory_blocks
;
core.h
75
uint32_t
memory_blocks
; /* Number of blocks in memory */
member in struct:Argon2_instance_t
/src/crypto/external/apache2/openssl/dist/providers/implementations/kdfs/
argon2.c
175
uint32_t
memory_blocks
;
member in struct:__anon546
484
input_block.v[3] = ctx->
memory_blocks
;
727
if (ctx->
memory_blocks
* sizeof(BLOCK) / sizeof(BLOCK) != ctx->
memory_blocks
)
731
ctx->memory = OPENSSL_secure_zalloc(ctx->
memory_blocks
* sizeof(BLOCK));
733
ctx->memory = OPENSSL_zalloc(ctx->
memory_blocks
* sizeof(BLOCK));
777
ctx->
memory_blocks
* sizeof(BLOCK));
780
ctx->
memory_blocks
* sizeof(BLOCK));
1014
uint32_t
memory_blocks
, segment_length;
local
1089
memory_blocks
= ctx->m_cost
[
all
...]
Completed in 30 milliseconds
Indexes created Sun Sep 20 00:26:38 UTC 2026