aboutsummaryrefslogtreecommitdiffstats
path: root/test/crypto/source/testref/ref_des.h
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2017-11-13 20:31:01 +0000
committerareviu <areviu.info@gmail.com>2017-11-13 20:31:01 +0000
commitabc49200f7cdd8b9698e767cec7df95a4ec039e2 (patch)
tree9e412a5a8bb4362bf237c935c142806dd662ed22 /test/crypto/source/testref/ref_des.h
parent6345e21b5deb23408ef15574904b12df329fa9fe (diff)
downloadChibiOS-abc49200f7cdd8b9698e767cec7df95a4ec039e2.tar.gz
ChibiOS-abc49200f7cdd8b9698e767cec7df95a4ec039e2.tar.bz2
ChibiOS-abc49200f7cdd8b9698e767cec7df95a4ec039e2.zip
added aes and (t)des in dma mode + test suite crypto
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10993 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/crypto/source/testref/ref_des.h')
-rw-r--r--test/crypto/source/testref/ref_des.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/crypto/source/testref/ref_des.h b/test/crypto/source/testref/ref_des.h
new file mode 100644
index 000000000..c839084b7
--- /dev/null
+++ b/test/crypto/source/testref/ref_des.h
@@ -0,0 +1,24 @@
+/*
+ ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+#ifndef TEST_REF_DES_H_
+#define TEST_REF_DES_H_
+
+extern const uint8_t refDES_ECB_8[];
+extern const uint8_t refTDES_ECB_16[];
+extern const uint8_t refTDES_ECB_24[];
+extern const uint8_t refTDES_CBC_16[];
+extern const uint8_t refTDES_CBC_24[];
+#endif //TEST_REF_DES_H_