mac: Add selftests for HMAC-SHA3-xxx.
authorWerner Koch <wk@gnupg.org>
Tue, 18 Jul 2017 12:11:26 +0000 (14:11 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 18 Jul 2017 12:11:26 +0000 (14:11 +0200)
commit95194c550443e8d5558856633f920daec8a975c4
treebdcc49aaed1b838245382aac1f87826284d5efb7
parentecf73dafb7aafed0d0f339d07235b58c2113f94c
mac: Add selftests for HMAC-SHA3-xxx.

* cipher/hmac-tests.c (check_one): Add arg trunc and change all
callers to pass false.
(selftests_sha3): New.
(run_selftests): Call new selftests.

Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/hmac-tests.c