]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: add hmac_sha256 implementation
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 7 Oct 2021 20:02:44 +0000 (21:02 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 8 Oct 2021 12:11:00 +0000 (13:11 +0100)
commit8d39bff4e36ee3996c5b087ee62ae0d33a82c837
treecd9492a53b2312d3dd153b5901a8cc0f54ad289e
parent6eb736727a484741095510380f16b4e5fb6b964a
basic: add hmac_sha256 implementation

Based on the FIPS 198 specification. Not optimized and probably
completely unsafe, to be used only for non-strong-cryptographic
purposes when OpenSSL cannot be used.
src/basic/hmac.c [new file with mode: 0644]
src/basic/hmac.h [new file with mode: 0644]
src/basic/meson.build
src/test/meson.build
src/test/test-hmac.c [new file with mode: 0644]