Lines Matching refs:BLAKE2S_HASH_SIZE
313 u8 output[BLAKE2S_HASH_SIZE + 1]; in kdf()
314 u8 secret[BLAKE2S_HASH_SIZE]; in kdf()
317 (first_len > BLAKE2S_HASH_SIZE || in kdf()
318 second_len > BLAKE2S_HASH_SIZE || in kdf()
319 third_len > BLAKE2S_HASH_SIZE || in kdf()
332 blake2s256_hmac(output, output, secret, 1, BLAKE2S_HASH_SIZE); in kdf()
339 output[BLAKE2S_HASH_SIZE] = 2; in kdf()
340 blake2s256_hmac(output, output, secret, BLAKE2S_HASH_SIZE + 1, in kdf()
341 BLAKE2S_HASH_SIZE); in kdf()
348 output[BLAKE2S_HASH_SIZE] = 3; in kdf()
349 blake2s256_hmac(output, output, secret, BLAKE2S_HASH_SIZE + 1, in kdf()
350 BLAKE2S_HASH_SIZE); in kdf()
355 memzero_explicit(secret, BLAKE2S_HASH_SIZE); in kdf()
356 memzero_explicit(output, BLAKE2S_HASH_SIZE + 1); in kdf()