aboutsummaryrefslogtreecommitdiffstats
path: root/test/crypto/source/test/cry_test_root.c
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2018-03-19 19:40:09 +0000
committerareviu <areviu.info@gmail.com>2018-03-19 19:40:09 +0000
commitd82f92151f7d0fbc6b34aad78e0e02da0a619057 (patch)
tree97211273ae990a3ab60852e023960039ae6ae109 /test/crypto/source/test/cry_test_root.c
parentbadec871127cc434bdb83a54c2a4d7dde26b073f (diff)
downloadChibiOS-d82f92151f7d0fbc6b34aad78e0e02da0a619057.tar.gz
ChibiOS-d82f92151f7d0fbc6b34aad78e0e02da0a619057.tar.bz2
ChibiOS-d82f92151f7d0fbc6b34aad78e0e02da0a619057.zip
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
Diffstat (limited to 'test/crypto/source/test/cry_test_root.c')
-rw-r--r--test/crypto/source/test/cry_test_root.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/crypto/source/test/cry_test_root.c b/test/crypto/source/test/cry_test_root.c
index 80f97bc3e..519e1fa73 100644
--- a/test/crypto/source/test/cry_test_root.c
+++ b/test/crypto/source/test/cry_test_root.c
@@ -114,10 +114,13 @@ isque dui faucibus, vitae malesuada dui fermentum. Proin ultrici\
es sit amet justo at ornare. Suspendisse efficitur purus nullam.";
-const uint8_t sha_msg0[SHA_LEN_0] = "hi!";
+const uint8_t sha_msg0[SHA_LEN_0] = "abc";
const uint8_t sha_msg1[SHA_LEN_1] = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq";
+const uint8_t sha_msg2[SHA_LEN_2] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
+
+const uint8_t sha_msg3[SHA_LEN_3] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
ALIGNED_VAR(4) uint32_t msg_clear[TEST_MSG_DATA_WORD_LEN];
ALIGNED_VAR(4) uint32_t msg_encrypted[TEST_MSG_DATA_WORD_LEN];