D | test_mbedtls_sha.c | 63 unsigned char sha1[20], sha256[32], sha512[64]; variable 81 TEST_ASSERT_EQUAL(0, mbedtls_sha512_finish_ret(&sha512_ctx, sha512)); 87 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha512_thousand_bs, sha512, 64, "SHA512 calculation"); 198 unsigned char sha512[64]; variable 212 TEST_ASSERT_EQUAL(0, mbedtls_sha512_finish_ret(&ctx, sha512)); 215 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha512_thousand_bs, sha512, 64, "SHA512 original calculation"); 217 TEST_ASSERT_EQUAL(0, mbedtls_sha512_finish_ret(&clone, sha512)); 220 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha512_thousand_bs, sha512, 64, "SHA512 cloned calculation"); 458 unsigned char sha512[64], k; variable 471 TEST_ASSERT_EQUAL(0, mbedtls_sha512_finish_ret(&sha512_ctx, sha512)); [all …]
|