zig/lib/std
Frank Denis dff4bbfd24
Remove Gimli and Xoodoo from the standard library (#14928)
These are great permutations, and there's nothing wrong with them
from a practical security perspective.

However, both were competing in the NIST lightweight crypto
competition.

Gimli didn't pass the 3rd selection round, and is not much used
in the wild besides Zig and libhydrogen. It will never be
standardized and is unlikely to get more traction in the future.

Xoodyak, that Xoodoo is the permutation of, was a finalist.

It has a lot of advantages and *might* be standardized without NIST.
But this is too early to tell, and too risky to commit to it
in a standard library.

For lightweight crypto, Ascon is the one that we know NIST will
standardize and that we can safely rely on from a usage perspective.

Switch to a traditional ChaCha-based CSPRNG, with an Ascon-based one
as an option for constrained systems.

Add a RNG benchmark by the way.

Gimli and Xoodoo served us well. Their code will be maintained,
but outside the standard library.
2023-03-21 04:54:10 +00:00
..
atomic update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Build std.Build.RunStep: fix control flow with qemu+glibc logic 2023-03-20 17:14:48 -04:00
c darwin: put posix spawn constants in POSIX_SPAWN struct 2023-03-18 21:54:05 +01:00
compress std.compress.zstandard: fix error sets for streaming API 2023-02-21 22:06:25 +11:00
crypto Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
dwarf
event update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fmt Fix #14901: parseFloat parsing 0x successfully 2023-03-16 19:36:06 +02:00
fs fix std.fs unit test to not be racey 2023-03-15 10:48:15 -07:00
hash std.hash: use std.math.rotl in Xxhash64 and Xxhash32 2023-02-21 12:09:27 +11:00
heap add std.heap.ThreadSafeAllocator 2023-03-15 10:48:12 -07:00
http Fix to use '/' for a empty path (#14884) 2023-03-14 13:07:25 +02:00
io std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
json update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
math CBE: implement big integer literals 2023-03-05 02:59:01 -05:00
mem split @qualCast into @constCast and @volatileCast 2023-02-15 01:43:57 +02:00
meta update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
net update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os Fix GetFileInformationByHandle compile error (#14829) 2023-03-19 23:23:05 +00:00
rand Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
target update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
testing
Thread zig build: add a -j<N> option for limiting concurrency 2023-03-15 10:48:12 -07:00
time
tz
unicode
valgrind
zig add compile log output to build runner 2023-03-15 10:48:15 -07:00
array_hash_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
array_list.zig std: Add ArrayList.insertAssumeCapacity() 2023-03-12 11:02:53 +00:00
ascii.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
atomic.zig
base64.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
bit_set.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
bounded_array.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
buf_map.zig
buf_set.zig
Build.zig fix std.Build.OptionsStep 2023-03-19 00:39:29 -04:00
builtin.zig Sema: implement for_len 2023-02-18 19:17:21 -07:00
c.zig std: child process API supports rusage data 2023-03-15 10:48:13 -07:00
child_process.zig fix wasm bootstrapping compilation errors 2023-03-15 10:48:14 -07:00
coff.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
compress.zig std.compress.zstd: renamed from std.compress.zstandard 2023-02-22 00:11:20 +11:00
comptime_string_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
crypto.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
cstr.zig std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
debug.zig use DEC graphics instead of Unicode for box drawing 2023-03-15 10:48:15 -07:00
dwarf.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
dynamic_library.zig
elf.zig
enums.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
event.zig
fifo.zig add std.LinearFifo.readableSliceOfLen 2023-03-15 10:48:15 -07:00
fmt.zig std: improve error for formatting a function body type 2023-03-20 17:29:43 +02:00
fs.zig std: add fchmodat 2023-03-03 02:37:45 -05:00
hash.zig std.hash: add XxHash64 and XxHash32 2023-02-20 09:09:05 +11:00
hash_map.zig tools: implement more lldb pretty printers 2023-02-27 05:37:03 -05:00
heap.zig add std.heap.ThreadSafeAllocator 2023-03-15 10:48:12 -07:00
http.zig std.http: split Client's parts into their own files 2023-03-09 14:55:20 -06:00
Ini.zig add std.Ini for basic .ini file parsing 2023-01-11 15:39:48 -08:00
io.zig std.io.poll: remove done function 2023-03-01 12:21:53 -05:00
json.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
leb128.zig
linked_list.zig
log.zig std: collect all options under one namespace 2023-01-05 02:31:29 -07:00
macho.zig macho: add hot-code swapping poc 2023-03-18 21:53:26 +01:00
math.zig math: implement absInt for integer vectors 2023-01-03 13:30:24 +02:00
mem.zig std.mem.copy: update to new for loop syntax 2023-03-15 10:48:12 -07:00
meta.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
multi_array_list.zig tools: add lldb pretty printer for std.MultiArrayList.Slice 2023-03-06 05:58:46 -05:00
net.zig Enable IPv4 mapped address conversion in linux version getAddressList (#14916) 2023-03-17 15:58:02 -04:00
once.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os.zig os.zig: expose ptrace wrapper for darwin and linux 2023-03-18 21:52:40 +01:00
packed_int_array.zig Merge pull request #14671 from ziglang/multi-object-for 2023-02-19 10:10:59 -05:00
pdb.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_dequeue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_queue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
process.zig remove bad unit test from std lib 2023-03-15 10:48:14 -07:00
Progress.zig std.Progress.Node: add a setName method 2023-03-15 10:48:14 -07:00
rand.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
RingBuffer.zig std.RingBuffer: add (non-concurrent) RingBuffer implementation 2023-02-21 12:58:34 +11:00
segmented_list.zig
SemanticVersion.zig
simd.zig add wasm-simd support for suggestVectorSizeForCpu (#14992) 2023-03-20 17:45:12 +01:00
sort.zig Relax std.sort.binarySearch requirements 2023-02-21 12:28:43 -05:00
start.zig ignore SIGPIPE by default 2023-02-17 09:08:41 -07:00
start_windows_tls.zig cbe: fixes for tls, support for not linking libc, and enabling tests 2023-01-29 15:04:13 -05:00
std.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
tar.zig zig build: add executable bit and file path to package hash 2023-02-01 18:42:29 -07:00
target.zig std: reenable vectorized code with the C backend 2023-03-06 08:09:32 -05:00
testing.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Thread.zig extract ThreadPool and WaitGroup from compiler to std lib 2023-03-15 10:48:12 -07:00
time.zig
treap.zig
tz.zig
unicode.zig
Uri.zig std.http: handle relative redirects 2023-03-09 14:55:13 -06:00
valgrind.zig
wasm.zig wasm: add atomics opcodes and refactoring 2023-03-18 20:13:30 +01:00
zig.zig integrate the build runner and the compiler server 2023-03-15 10:48:13 -07:00