]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Extend pbkdf2_test to cover HMAC-SHA{256,512}
authorSrish Srinivasan <ssrish@linux.ibm.com>
Mon, 29 Sep 2025 11:29:34 +0000 (16:59 +0530)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 6 Nov 2025 16:29:39 +0000 (17:29 +0100)
commitd9b7b23d2d90922ea82ceceebb283bc16f85cd4b
tree88860d8ec8296a8e062f089c8bdd76dd206810f9
parentd4f476f08e66aded4c8d99628280c9de14befd64
tests: Extend pbkdf2_test to cover HMAC-SHA{256,512}

HMAC-SHA1 is the only HMAC variant tested in the existing vectors.
Add vectors to test HMAC-SHA{256,512} as well.

Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/tests/pbkdf2_test.c