9 Commits
Author SHA1 Message Date
waozi 7158fba829 Use the verified Gitea Ziran toolchain 2026-11-20 04:21:46 -03:00
waozi 944826f707 SHA-256's pointer forms hash whole blocks where they lie, without a bounds check per byte: each block loader fills the context's message schedule and one Sha256Rounds hashes it, so phones building at -Oz hash a package as fast as Daochi Client's own SHA-256 2026-10-24 23:59:15 -03:00
waozi d11e915b5e Hashes run in portable bundles: SHA-256 hashes slices with Sha256UpdateBytes and Sha256FinishBytes beneath its pointer forms and string forms, SHA-512 keeps its round constants as 32-bit halves; a portable test bundle checks both 2026-10-24 23:37:04 -03:00
waozi a4cd5bbe49 SHA-256 string forms by value: Sha256Of, HmacSha256Of and PBKDF2-HMAC-SHA-256's first block, checked against FIPS, RFC 4231 and RFC 7914 2026-10-24 23:28:51 -03:00
waozi 08bbad0513 Repin packages to the rewritten history 2026-10-19 11:51:54 -03:00
waozi 53787e94d0 Hash whole SHA-256 blocks in place with inline rotations
Inner Breeze verifies a practice pack's SHA-256 when it opens it, 22 MB for
Sun Salutation. Update copied every byte into the block buffer, and a
size-optimized build kept the rotate helper as a call, a sixth of the
time. Whole blocks are now hashed where they lie and the rotations are
expressions. Adds the FIPS million-'a' vector, whole and in uneven pieces.
2026-10-19 01:15:49 -03:00
waozi c71fc797f5 Keep SHA256 library procedures in their package native namespace 2026-10-18 17:53:07 -03:00
waozi 5080754671 Add SHA-512 and HMAC-SHA-512, accept 512-byte exponents, and make the bigint borrow constant-time 2026-10-10 19:10:00 -03:00
waozi ba50e2bde7 Add portable Ziran hashes AES and modular arithmetic 2026-10-02 14:55:52 -03:00