Lines Matching full:sha256

35  * This module tests the following SHA256 routines:
37 * - NIST SHA256 test vectors
40 #include <tinycrypt/sha256.h>
51 * NIST SHA256 test vector 1.
58 TC_PRINT("SHA256 test #1:\n"); in ZTEST()
77 zassert_false(result, "SHA256 test #1 failed."); in ZTEST()
81 * NIST SHA256 test vector 2.
87 TC_PRINT("SHA256 test #2:\n"); in ZTEST()
108 zassert_false(result, "SHA256 test #2 failed."); in ZTEST()
115 TC_PRINT("SHA256 test #3:\n"); in ZTEST()
135 zassert_false(result, "SHA256 test #3 failed."); in ZTEST()
143 TC_PRINT("SHA256 test #4:\n"); in ZTEST()
163 zassert_false(result, "SHA256 test #4 failed."); in ZTEST()
171 TC_PRINT("SHA256 test #5:\n"); in ZTEST()
193 zassert_false(result, "SHA256 test #5 failed."); in ZTEST()
201 TC_PRINT("SHA256 test #6:\n"); in ZTEST()
223 zassert_false(result, "SHA256 test #6 failed."); in ZTEST()
231 TC_PRINT("SHA256 test #7:\n"); in ZTEST()
253 zassert_false(result, "SHA256 test #7 failed."); in ZTEST()
261 TC_PRINT("SHA256 test #8:\n"); in ZTEST()
283 zassert_false(result, "SHA256 test #8 failed."); in ZTEST()
291 TC_PRINT("SHA256 test #9:\n"); in ZTEST()
313 zassert_false(result, "SHA256 test #9 failed."); in ZTEST()
321 TC_PRINT("SHA256 test #10:\n"); in ZTEST()
343 zassert_false(result, "SHA256 test #10 failed."); in ZTEST()
351 TC_PRINT("SHA256 test #11:\n"); in ZTEST()
373 zassert_false(result, "SHA256 test #11 failed."); in ZTEST()
381 TC_PRINT("SHA256 test #12:\n"); in ZTEST()
406 zassert_false(result, "SHA256 test #12 failed."); in ZTEST()
413 TC_PRINT("SHA256 test #13:\n"); in ZTEST()
438 zassert_false(result, "SHA256 test #13 failed."); in ZTEST()
446 TC_PRINT("SHA256 test #14:\n"); in ZTEST()
471 zassert_false(result, "SHA256 test #14 failed."); in ZTEST()