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
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
CMakeLists.txt
compat.sh wait_server_start: warn if lsof is not available 2018-01-22 10:29:24 +01:00
Descriptions.txt
Makefile
ssl-opt.sh Merge branch 'development' into development-restricted 2018-01-29 12:49:05 +00:00