|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/secret.h"宏定义 | |
| #define | PRIME64_1 0x9E3779B185EBCA87ULL |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| #define | PRIME64_2 0xC2B2AE3D27D4EB4FULL |
| #define | PRIME64_3 0x165667B19E3779F9ULL |
| #define | PRIME64_4 0x85EBCA77C2B2AE63ULL |
| #define | PRIME64_5 0x27D4EB2F165667C5ULL |
函数 | |
| uint64_t | lmmp_xxhash_ (mp_srcptr in, mp_size_t inlen, srckey64_t key) |
| xxhash 函数(非标准处理任意字节流的 xxhash) | |
| static uint64_t | rotl64 (uint64_t x, int b) |
| #define PRIME64_1 0x9E3779B185EBCA87ULL |
Copyright (C) 2026 HJimmyK (Jericho Knox)
This file is part of LMMP.
LMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see https://www.gnu.org/licenses/.
SPDX-License-Identifier: LGPL-3.0-or-later
被这些函数引用 lmmp_xxhash_().
| #define PRIME64_2 0xC2B2AE3D27D4EB4FULL |
被这些函数引用 lmmp_xxhash_().
| #define PRIME64_3 0x165667B19E3779F9ULL |
被这些函数引用 lmmp_xxhash_().
| #define PRIME64_4 0x85EBCA77C2B2AE63ULL |
被这些函数引用 lmmp_xxhash_().
| #define PRIME64_5 0x27D4EB2F165667C5ULL |
被这些函数引用 lmmp_xxhash_().
| uint64_t lmmp_xxhash_ | ( | mp_srcptr | in, |
| mp_size_t | inlen, | ||
| srckey64_t | key ) |
xxhash 函数(非标准处理任意字节流的 xxhash)
| in | 输入数据,可以为 NULL |
| inlen | 输入数据长度 |
| key | 64-bit 秘钥,可以为 NULL |
引用了 lmmp_xxhash_(), PRIME64_1, PRIME64_2, PRIME64_3, PRIME64_4, PRIME64_5, rotl64(), v1, v2 , 以及 v3.
被这些函数引用 lmmp_xxhash_() , 以及 TEST_CASE().