diff options
author | areviu <areviu.info@gmail.com> | 2018-03-19 19:40:09 +0000 |
---|---|---|
committer | areviu <areviu.info@gmail.com> | 2018-03-19 19:40:09 +0000 |
commit | d82f92151f7d0fbc6b34aad78e0e02da0a619057 (patch) | |
tree | 97211273ae990a3ab60852e023960039ae6ae109 /test/crypto/source/test/cry_test_sequence_004.c | |
parent | badec871127cc434bdb83a54c2a4d7dde26b073f (diff) | |
download | ChibiOS-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_sequence_004.c')
-rw-r--r-- | test/crypto/source/test/cry_test_sequence_004.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/test/crypto/source/test/cry_test_sequence_004.c b/test/crypto/source/test/cry_test_sequence_004.c index 842278935..d5a5442c2 100644 --- a/test/crypto/source/test/cry_test_sequence_004.c +++ b/test/crypto/source/test/cry_test_sequence_004.c @@ -46,21 +46,13 @@ static const CRYConfig configDES_Polling=
{
TRANSFER_POLLING,
- 0,
- TDES_ALGO_SINGLE
-};
-static const CRYConfig configTDES_Polling=
-{
- TRANSFER_POLLING,
- 0,
- TDES_ALGO_TRIPLE
+ 0
};
-static const CRYConfig configTDES_DMA=
+static const CRYConfig configDES_DMA=
{
TRANSFER_DMA,
- 0,
- TDES_ALGO_TRIPLE
+ 0
};
@@ -164,7 +156,7 @@ static void cry_test_004_002_setup(void) { memcpy((char*) msg_clear, test_plain_data, TEST_DATA_BYTE_LEN);
memset(msg_encrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
memset(msg_decrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
- cryStart(&CRYD1, &configTDES_Polling);
+ cryStart(&CRYD1, &configDES_Polling);
}
@@ -280,7 +272,7 @@ static void cry_test_004_003_setup(void) { memcpy((char*) msg_clear, test_plain_data, TEST_DATA_BYTE_LEN);
memset(msg_encrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
memset(msg_decrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
- cryStart(&CRYD1, &configTDES_Polling);
+ cryStart(&CRYD1, &configDES_Polling);
}
@@ -396,7 +388,7 @@ static void cry_test_004_004_setup(void) { memcpy((char*) msg_clear, test_plain_data, TEST_DATA_BYTE_LEN);
memset(msg_encrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
memset(msg_decrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
- cryStart(&CRYD1, &configTDES_DMA);
+ cryStart(&CRYD1, &configDES_DMA);
}
@@ -512,7 +504,7 @@ static void cry_test_004_005_setup(void) { memcpy((char*) msg_clear, test_plain_data, TEST_DATA_BYTE_LEN);
memset(msg_encrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
memset(msg_decrypted, 0xff, TEST_MSG_DATA_BYTE_LEN);
- cryStart(&CRYD1, &configTDES_DMA);
+ cryStart(&CRYD1, &configDES_DMA);
}
|