summaryrefslogtreecommitdiff
path: root/src/basic/hmac.c
Commit message (Collapse)AuthorAgeFilesLines
* sha256: add sha256_direct()/SHA256_DIRECT() helpersLennart Poettering2022-08-191-3/+1
|
* basic: add hmac_sha256 implementationLuca Boccassi2021-10-081-0/+62
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.