aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-sha256.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Move SHA256 test cases into hwsim frameworkJouni Malinen2015-01-051-305/+0
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: Add CAVP test vectors for byte-oriented SHA-1 and SHA-256Jouni Malinen2014-05-181-0/+99
| | | | | | | | | | This allows the SHA-1 implementation to be validated against the SHA1ShortMsg.rsp and SHA1LongMsg.rsp test vectors from http://csrc.nist.gov/groups/STM/cavp/documents/shs/shabytetestvectors.zip. Similarly, the SHA-256 can be validated against the SHA256ShortMsg.rsp and SHA256LongMsg.rsp. Signed-off-by: Jouni Malinen <j@w1.fi>
* Use ARRAY_SIZE() macroJouni Malinen2013-10-261-2/+2
| | | | | | | Replace the common sizeof(a)/sizeof(a[0]) constructions with a more readable version. Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* Move more tests from wpa_supplicant/tests into testsJouni Malinen2009-12-051-0/+331