Pull upstream changes from TELY UI

This commit is contained in:
doylet committed 2026-11-26 15:10:16 +11:00
1 parent 7147ad52a2
commit d5c98d5288
20 files changed
+17900 -10682

No files matched your search

+2 -2
View File
@@ -780,7 +780,7 @@ DN_TestCore DN_SHA3_TestSuite(DN_Arena *arena)
// NOTE: Test SHA3 against some deterministic inputs generated from a PRNG
for (DN_TestScopeF(&result, "[%.*s] Deterministic random inputs", DN_Str8PrintFmt(hash_name))) {
DN_Pcg32 rng = DN_Pcg32Init(0xd48e'be21'2af8'733d);
DN_Pcg32 rng = DN_Pcg32Init(0xd48ebe212af8733d);
for (DN_USize index = 0; index < 128; index++) {
// NOTE: Create a 4kb buffer with the deterministic contents
char src[4096] = {};
@@ -800,7 +800,7 @@ DN_TestCore DN_SHA3_TestSuite(DN_Arena *arena)
void DN_SHA3_TestSuiteThenOutput(DN_Str8FromTestCoreFlags flags)
{
DN_Arena arena = DN_ArenaFromHeap(DN_Megabytes(1), DN_Kilobytes(64), DN_MemFlags_Nil, DN_OS_HeapInitDefault(), "DN SHA3 Tests");
DN_Arena arena = DN_ArenaFromHeap(DN_Megabytes(1), DN_Kilobytes(64), DN_MemListFlags_Nil, DN_Os_HeapInitDefault(), "DN SHA3 Tests");
DN_TestCore test = DN_SHA3_TestSuite(&arena);
DN_Str8 output = DN_Str8FromTestCore(&test, &arena, flags);
printf("%.*s", DN_Str8PrintFmt(output));