From d82f92151f7d0fbc6b34aad78e0e02da0a619057 Mon Sep 17 00:00:00 2001 From: areviu Date: Mon, 19 Mar 2018 19:40:09 +0000 Subject: update hal crypto sha lld, added integration with wolfcrypt git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11824 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- test/crypto/source/test/cry_test_root.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/crypto/source/test/cry_test_root.h') diff --git a/test/crypto/source/test/cry_test_root.h b/test/crypto/source/test/cry_test_root.h index 0fb922d3d..f33cb5c1a 100644 --- a/test/crypto/source/test/cry_test_root.h +++ b/test/crypto/source/test/cry_test_root.h @@ -72,6 +72,8 @@ extern void cryptoTest_printArray32(bool isLE,const uint32_t *a,size_t len); #define SHA_LEN_0 3 #define SHA_LEN_1 56 +#define SHA_LEN_2 64 +#define SHA_LEN_3 128 extern const char test_plain_data[TEST_DATA_BYTE_LEN]; extern uint32_t msg_clear[TEST_MSG_DATA_WORD_LEN]; @@ -81,7 +83,8 @@ extern const uint32_t test_keys[8]; extern const uint32_t test_vectors[4]; extern const uint8_t sha_msg0[SHA_LEN_0]; extern const uint8_t sha_msg1[SHA_LEN_1]; - +extern const uint8_t sha_msg2[SHA_LEN_2]; +extern const uint8_t sha_msg3[SHA_LEN_3]; #endif /* !defined(__DOXYGEN__) */ -- cgit v1.2.3