Files
openssl/include/internal/hashfunc.h
Gerd Hoffmann 44e9c5a3ed hashfunc: add stddef.h include
size_t is declared in stddef.h, so include the header file to
make sure it is available.  Fixes build on UEFI.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27284)
2025-04-15 15:27:38 +01:00

21 lines
559 B
C

/*
* Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
#ifndef OPENSSL_HASHFUNC_H
# define OPENSSL_HASHFUNC_H
# include <openssl/e_os2.h>
# include <stddef.h>
/**
* Generalized fnv1a 64 bit hash function
*/
ossl_unused uint64_t ossl_fnv1a_hash(uint8_t *key, size_t len);
#endif