Add aliases for integer constants
Release / release (push) Successful in 3s

This commit is contained in:
Abdelrahman Said committed 2026-09-02 00:11:23 +01:00
1 parent 60467d56b9
commit e015dfceda
7 files changed
+24 -17

No files matched your search

+4 -5
View File
@@ -4,7 +4,6 @@
#include "../../../common/aliases/aliases.h"
#include "../../../common/assert/assert.h"
#include "../../../common/misc/misc_utils.h"
#include <stdint.h>
wp_intern inline void _siphash(WpStream *bytes, const WpSipHasherParams *params, u8 *out, u64 outlen);
wp_intern inline void _validate128IO(const WpSipHasher128IO *io);
@@ -64,10 +63,10 @@ wp_intern inline void _siphash(WpStream *bytes, const WpSipHasherParams *params,
wpRuntimeAssert((outlen == 8) || (outlen == 16), "outlen should be 8 or 16");
u64 v0 = UINT64_C(0x736f6d6570736575);
u64 v1 = UINT64_C(0x646f72616e646f6d);
u64 v2 = UINT64_C(0x6c7967656e657261);
u64 v3 = UINT64_C(0x7465646279746573);
u64 v0 = wpU64Const(0x736f6d6570736575);
u64 v1 = wpU64Const(0x646f72616e646f6d);
u64 v2 = wpU64Const(0x6c7967656e657261);
u64 v3 = wpU64Const(0x7465646279746573);
u64 k0 = _u8To64LE(kk);
u64 k1 = _u8To64LE(kk + 8);
u64 m;