From c44880635c6c6f8b7b026c79ae5ec1e49e38541c Mon Sep 17 00:00:00 2001 From: areviu Date: Sun, 25 Mar 2018 09:16:57 +0000 Subject: added gcm for sama crypto git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11851 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- test/crypto/source/test/cry_test_root.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (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 f33cb5c1a..110dd851f 100644 --- a/test/crypto/source/test/cry_test_root.h +++ b/test/crypto/source/test/cry_test_root.h @@ -31,6 +31,7 @@ #include "cry_test_sequence_005.h" #include "cry_test_sequence_006.h" #include "cry_test_sequence_007.h" +#include "cry_test_sequence_008.h" #if !defined(__DOXYGEN__) @@ -75,6 +76,13 @@ extern void cryptoTest_printArray32(bool isLE,const uint32_t *a,size_t len); #define SHA_LEN_2 64 #define SHA_LEN_3 128 +#define TEST_GCM_KEY1_LEN 32 +#define TEST_P_LEN 60 +#define TEST_A_LEN 20 +#define TEST_IV1_LEN 12 +#define TEST_CL_LEN 60 +#define TEST_TL_LEN 16 + extern const char test_plain_data[TEST_DATA_BYTE_LEN]; extern uint32_t msg_clear[TEST_MSG_DATA_WORD_LEN]; extern uint32_t msg_encrypted[TEST_MSG_DATA_WORD_LEN]; @@ -86,6 +94,9 @@ 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__) */ #endif /* CRY_TEST_ROOT_H */ -- cgit v1.2.3