|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/secret.h"宏定义 | |
| #define | SIPROUND |
函数 | |
| uint64_t | lmmp_siphash24_ (mp_srcptr in, mp_size_t inlen, srckey128_t key) |
| SipHash-2-4 函数(非标准处理任意字节流的 SipHash-2-4) | |
| static uint64_t | rotl64 (uint64_t x, int b) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| #define SIPROUND |
被这些函数引用 lmmp_siphash24_().
| uint64_t lmmp_siphash24_ | ( | mp_srcptr | in, |
| mp_size_t | inlen, | ||
| srckey128_t | key ) |
SipHash-2-4 函数(非标准处理任意字节流的 SipHash-2-4)
| in | 输入数据,可以为 NULL |
| inlen | 输入数据长度 |
| key | 128-bit 秘钥,可以为 NULL |
引用了 LIMB_BYTES, lmmp_siphash24_(), SIPROUND, v0, v1, v2 , 以及 v3.
被这些函数引用 lmmp_siphash24_() , 以及 TEST_CASE().
|
inlinestatic |
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
引用了 rotl64().
被这些函数引用 lmmp_xxhash_(), rotl64() , 以及 rotl64().