aboutsummaryrefslogtreecommitdiff
path: root/lib/std/crypto/hkdf.zig
AgeCommit message (Collapse)Author
2024-10-28closes #21824 (#21832)Bruno Franca dos Reis
2023-10-23x86_64: implement enough to pass unicode testsJacob Young
* implement vector comparison * implement reduce for bool vectors * fix `@memcpy` bug * enable passing std tests
2023-10-22Revert "Revert "Merge pull request #17637 from jacobly0/x86_64-test-std""Jacob Young
This reverts commit 6f0198cadbe29294f2bf3153a27beebd64377566.
2023-10-22Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"Andrew Kelley
This reverts commit 0c99ba1eab63865592bb084feb271cd4e4b0357e, reversing changes made to 5f92b070bf284f1493b1b5d433dd3adde2f46727. This caused a CI failure when it landed in master branch due to a 128-bit `@byteSwap` in std.mem.
2023-10-21x86_64: fix bugs and disable erroring testsJacob Young
2023-04-28update codebase to use `@memset` and `@memcpy`Andrew Kelley
2022-12-29hkdf: add prk_length and extractInit()Frank Denis
The HKDF extract function uses HMAC under the hood, but requiring applications to directly use HMAC functions reduces clarity and feels like the wrong abstraction. So, in order to get the PRK length, add a `prk_length` constant that applications can use directly. Also add an `extractInit()` function for cases where the keying material has to be provided as multiple chunks.
2022-12-23HKDF allow expansion up to, and including <hash size> * 255 bytes (#14051)Frank Denis
Fixes #14050
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
2021-05-08std: update usage of std.testingVeikka Tuominen
2020-12-31Year++Frank Denis
2020-11-01std/crypto: make Hkdf functions publicFrank Denis
2020-10-26std/*: add missing MIT license headersFrank Denis
2020-09-30Remove unused var, sort std.crypto.*Frank Denis
2020-09-30std/crypto: implement the HKDF constructionFrank Denis