mbedtls/tests
Antonio Quartulli e87e885756
tests/pkcs5/pbkdf2_hmac: add unit tests for additional SHA algorithms
Test vectors for SHA224,256,384 and 512 have been
generated using Python's hashlib module by the
following oneliner:

import binascii, hashlib
binascii.hexlify(hashlib.pbkdf2_hmac(ALGO, binascii.unhexlify('PASSWORD'), binascii.unhexlify('SALT'), ITER, KEYLEN)))

where ALGO was 'sha224', 'sha256', 'sha384' and 'sha512'
respectively.

Values for PASSWORD, SALT, ITER and KEYLEN were copied from the
existent test vectors for SHA1.

For SHA256 we also have two test vectors coming from RFC7914 Sec 11.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2018-02-08 17:18:19 +08:00
..
data_files Merge branch 'development' into development-restricted 2017-11-28 18:46:09 +01:00
git-scripts Move the git scripts to correct path 2017-07-27 21:44:34 +01:00
scripts Make small corrections to all.sh 2018-01-05 13:03:53 +00:00
suites tests/pkcs5/pbkdf2_hmac: add unit tests for additional SHA algorithms 2018-02-08 17:18:19 +08:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Support verbose output of the test suites 2017-06-25 11:24:18 +03:00
compat.sh wait_server_start: warn if lsof is not available 2018-01-22 10:29:24 +01:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Clean up of formatting, and potential integer overflow fix 2016-10-13 13:51:13 +01:00
ssl-opt.sh Merge branch 'development' into development-restricted 2018-01-29 12:49:05 +00:00