iPXE
hash_df.h
Go to the documentation of this file.
1 #ifndef _IPXE_HASH_DF_H
2 #define _IPXE_HASH_DF_H
3 
4 /** @file
5  *
6  * Hash-based derivation function (Hash_df)
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <stdint.h>
13 #include <ipxe/crypto.h>
14 
15 extern void hash_df ( struct digest_algorithm *hash, const void *input,
16  size_t input_len, void *output, size_t output_len );
17 
18 #endif /* _IPXE_HASH_DF_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Cryptographic API.
pseudo_bit_t hash[0x00010]
Hash algorithm.
Definition: arbel.h:13
A message digest algorithm.
Definition: crypto.h:16
void hash_df(struct digest_algorithm *hash, const void *input, size_t input_len, void *output, size_t output_len)
Distribute entropy throughout a buffer.
Definition: hash_df.c:84