std: add hasher_u32 update!, checksum_u32 methods

This commit is contained in:
Nigel Tao committed 2023-10-05 19:27:02 +11:00
1 parent b5eee6ac4f
commit 80b1988237
7 files changed
+299 -25

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
- Added `compact_retaining` and `history_retain_length`.
- Added `example/toy-aux-image`.
- Added `get_quirk(key: u32) u64`.
- Added `hasher_u32` `update!` and `checksum_u32` methods
- Added `if.likely` and `if.unlikely`.
- Added `slice_var as nptr array[etc] etc` conversion.
- Added `std/jpeg`.
+2
View File
@@ -23,8 +23,10 @@ resist timing attacks.
In Wuffs syntax, the `base.hasher_u32` methods are:
- `checksum_u32() u32`
- `get_quirk(key: u32) u64`
- `set_quirk!(key: u32, value: u64) status`
- `update!(x: slice u8)`
- `update_u32!(x: slice u8) u32`