85 size_t input_len,
void *
output,
size_t output_len ) {
118 for ( temp =
output, remaining = output_len ; remaining > 0 ; ) {
126 prefix.no_of_bits_to_return =
htonl ( output_len * 8 );
142 frag_len =
sizeof ( digest );
143 if ( frag_len > remaining )
144 frag_len = remaining;
145 memcpy ( temp, digest, frag_len );
147 remaining -= frag_len;
pseudo_bit_t hash[0x00010]
static void digest_update(struct digest_algorithm *digest, void *ctx, const void *data, size_t len)
static void digest_final(struct digest_algorithm *digest, void *ctx, void *out)
#define offsetof(type, field)
Get offset of a field within a structure.
Hash-based derivation function (Hash_df)
void * memcpy(void *dest, const void *src, size_t len) __nonnull
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
static void digest_init(struct digest_algorithm *digest, void *ctx)
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.
A message digest algorithm.
typeof(acpi_finder=acpi_find)
ACPI table finder.
#define NULL
NULL pointer (VOID *)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)