OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:blockhash
(Results
1 - 6
of
6
) sorted by relevancy
/src/external/apache2/argon2/dist/phc-winner-argon2/src/
genkat.h
25
* @param
blockhash
Array that contains pre-hashing digest
28
* @pre
blockhash
must point to INPUT_INITIAL_HASH_LENGTH bytes
32
void initial_kat(const uint8_t *
blockhash
, const argon2_context *context,
core.c
161
block
blockhash
;
local
164
copy_block(&
blockhash
, instance->memory + instance->lane_length - 1);
170
xor_block(&
blockhash
, instance->memory + last_block_in_lane);
176
store_block(blockhash_bytes, &
blockhash
);
179
/* clear
blockhash
and blockhash_bytes */
180
clear_internal_memory(
blockhash
.v, ARGON2_BLOCK_SIZE);
519
void fill_first_blocks(uint8_t *
blockhash
, const argon2_instance_t *instance) {
526
store32(
blockhash
+ ARGON2_PREHASH_DIGEST_LENGTH, 0);
527
store32(
blockhash
+ ARGON2_PREHASH_DIGEST_LENGTH + 4, l);
528
blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE,
blockhash
,
617
uint8_t
blockhash
[ARGON2_PREHASH_SEED_LENGTH];
local
[
all
...]
core.h
164
* Hashes all the inputs into @a
blockhash
[PREHASH_DIGEST_LENGTH], clears
168
* @param
blockhash
Buffer for pre-hashing digest
170
* @pre @a
blockhash
must have at least @a PREHASH_DIGEST_LENGTH bytes
173
void initial_hash(uint8_t *
blockhash
, argon2_context *context,
179
* @param
blockhash
Pointer to the pre-hashing digest
180
* @pre
blockhash
must point to @a PREHASH_SEED_LENGTH allocated values
182
void fill_first_blocks(uint8_t *
blockhash
, const argon2_instance_t *instance);
genkat.c
24
void initial_kat(const uint8_t *
blockhash
, const argon2_context *context,
28
if (
blockhash
!= NULL && context != NULL) {
85
printf("%2.2x ", ((unsigned char *)
blockhash
)[i]);
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
argon2-core.c
190
block
blockhash
;
local
193
copy_block(&
blockhash
,
200
xor_block(&
blockhash
,
207
store_block(blockhash_bytes, &
blockhash
);
210
sodium_memzero(
blockhash
.v,
211
ARGON2_BLOCK_SIZE); /* clear
blockhash
*/
368
fill_first_blocks(uint8_t *
blockhash
, const argon2_instance_t *instance)
375
STORE32_LE(
blockhash
+ ARGON2_PREHASH_DIGEST_LENGTH, 0);
376
STORE32_LE(
blockhash
+ ARGON2_PREHASH_DIGEST_LENGTH + 4, l);
377
blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE,
blockhash
,
477
uint8_t
blockhash
[ARGON2_PREHASH_SEED_LENGTH];
local
[
all
...]
argon2-core.h
220
* Hashes all the inputs into @a
blockhash
[PREHASH_DIGEST_LENGTH], clears
224
* @param
blockhash
Buffer for pre-hashing digest
226
* @pre @a
blockhash
must have at least @a PREHASH_DIGEST_LENGTH bytes
229
void initial_hash(uint8_t *
blockhash
, argon2_context *context,
235
* @param
blockhash
Pointer to the pre-hashing digest
236
* @pre
blockhash
must point to @a PREHASH_SEED_LENGTH allocated values
238
void fill_first_blocks(uint8_t *
blockhash
, const argon2_instance_t *instance);
Completed in 33 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026