aboutsummaryrefslogtreecommitdiffstats
path: root/test/crypto/source/testref/ref_sha.h
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2017-11-30 21:12:58 +0000
committerareviu <areviu.info@gmail.com>2017-11-30 21:12:58 +0000
commit2ebbe6eb870313331bba48884112675107a6b866 (patch)
treef2eb4b050f057c5ebddb6a48cb1e511296940544 /test/crypto/source/testref/ref_sha.h
parent5b31410098434a2aff0c0729621fee6c6f2b3519 (diff)
downloadChibiOS-2ebbe6eb870313331bba48884112675107a6b866.tar.gz
ChibiOS-2ebbe6eb870313331bba48884112675107a6b866.tar.bz2
ChibiOS-2ebbe6eb870313331bba48884112675107a6b866.zip
update sha and trng lld
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11091 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/crypto/source/testref/ref_sha.h')
-rw-r--r--test/crypto/source/testref/ref_sha.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/crypto/source/testref/ref_sha.h b/test/crypto/source/testref/ref_sha.h
new file mode 100644
index 000000000..b487d519b
--- /dev/null
+++ b/test/crypto/source/testref/ref_sha.h
@@ -0,0 +1,25 @@
+/*
+ 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_SHA_H_
+#define TEST_REF_SHA_H_
+
+extern const uint8_t refSHA_SHA1_3[];
+extern const uint8_t refSHA_SHA1_56[];
+extern const uint8_t refSHA_SHA256_3[];
+extern const uint8_t refSHA_SHA256_56[];
+extern const uint8_t refSHA_SHA512_3[];
+extern const uint8_t refSHA_SHA512_56[];
+#endif //TEST_REF_SHA_H_