summaryrefslogtreecommitdiffstats
path: root/src/test/test-hmac.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-6/+6
|
* Added more ASSERT macro and also make some test file to use themUnique-Usman2024-03-221-1/+1
|
* test: fix indentationYu Watanabe2022-06-021-45/+45
|
* test: Use TEST macroJan Janssen2021-11-251-10/+2
| | | | | | | | | This converts to TEST macro where it is trivial. Some additional notable changes: - simplify HAVE_LIBIDN #ifdef in test-dns-domain.c - use saved_argc/saved_argv in test-copy.c, test-path-util.c, test-tmpfiles.c and test-unit-file.c
* basic: add hmac_sha256 implementationLuca Boccassi2021-10-081-0/+76
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.