ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
24 lines
610 B
C
24 lines
610 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
|
|
*
|
|
*/
|
|
|
|
#include "internal/hashfunc.h"
|
|
|
|
ossl_unused uint64_t ossl_fnv1a_hash(uint8_t *key, size_t len)
|
|
{
|
|
uint64_t hash = 0xcbf29ce484222325ULL;
|
|
size_t i;
|
|
|
|
for (i = 0; i < len; i++) {
|
|
hash ^= key[i];
|
|
hash *= 0x00000100000001B3ULL;
|
|
}
|
|
return hash;
|
|
}
|