|
LAMMP 4.2.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp.h"
secret.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:类型定义 | |
| typedef uint64_t | key128_t[2] |
| typedef uint64_t | key256_t[4] |
| typedef uint64_t | key64_t[1] |
| typedef const uint64_t | srckey128_t[2] |
| typedef const uint64_t | srckey256_t[4] |
| typedef const uint64_t | srckey64_t[1] |
| Copyright (C) 2026 HJimmyK(Jericho Knox) | |
函数 | |
| uint64_t | lmmp_siphash24_ (mp_srcptr in, mp_size_t inlen, srckey128_t key) |
| SipHash-2-4 函数(非标准处理任意字节流的 SipHash-2-4) | |
| uint64_t | lmmp_xxhash_ (mp_srcptr in, mp_size_t inlen, srckey64_t key) |
| xxhash 函数(非标准处理任意字节流的 xxhash) | |
Copyright (C) 2026 HJimmyK(Jericho Knox)
This file is part of LAMMP.
LAMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed WITHOUT ANY WARRANTY.
| 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 |
| uint64_t lmmp_xxhash_ | ( | mp_srcptr | in, |
| mp_size_t | inlen, | ||
| srckey64_t | key | ||
| ) |
xxhash 函数(非标准处理任意字节流的 xxhash)
| in | 输入数据,可以为 NULL |
| inlen | 输入数据长度 |
| key | 64-bit 秘钥,可以为 NULL |
引用了 n, PRIME64_1, PRIME64_2, PRIME64_3, PRIME64_4, PRIME64_5, rotl64(), v1 , 以及 v2.
函数调用图: