xref: /freebsd/crypto/openssl/include/internal/hashfunc.h (revision e7be843b4a162e68651d3911f0357ed464915629)
1 /*
2  * Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9 
10 #ifndef OPENSSL_HASHFUNC_H
11 # define OPENSSL_HASHFUNC_H
12 
13 # include <openssl/e_os2.h>
14 # include <stddef.h>
15 /**
16  * Generalized fnv1a 64 bit hash function
17  */
18 ossl_unused uint64_t ossl_fnv1a_hash(uint8_t *key, size_t len);
19 
20 #endif
21