From ea04b71ff14523ffcfc02eb43cf509e238807bef Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 4 Jul 2015 00:18:36 -0400 Subject: Initial version of Novean release engineering superrepository. Not yet fully tested. --- rtl/Makefile | 16 ++++++++++++++++ rtl/core/cipher/aes | 1 + rtl/core/cipher/chacha | 1 + rtl/core/comm/eim | 1 + rtl/core/hash/sha1 | 1 + rtl/core/hash/sha256 | 1 + rtl/core/hash/sha512 | 1 + rtl/core/math/modexp | 1 + rtl/core/platform/common | 1 + rtl/core/platform/novena | 1 + rtl/core/rng/avalanche_entropy | 1 + rtl/core/rng/rosc_entropy | 1 + rtl/core/rng/trng | 1 + rtl/debian/compat | 1 + rtl/debian/control | 14 ++++++++++++++ rtl/debian/copyright | 27 +++++++++++++++++++++++++++ rtl/debian/rules | 4 ++++ rtl/debian/source/format | 1 + rtl/patches/01-config-cores.patch | 27 +++++++++++++++++++++++++++ 19 files changed, 102 insertions(+) create mode 100644 rtl/Makefile create mode 160000 rtl/core/cipher/aes create mode 160000 rtl/core/cipher/chacha create mode 160000 rtl/core/comm/eim create mode 160000 rtl/core/hash/sha1 create mode 160000 rtl/core/hash/sha256 create mode 160000 rtl/core/hash/sha512 create mode 160000 rtl/core/math/modexp create mode 160000 rtl/core/platform/common create mode 160000 rtl/core/platform/novena create mode 160000 rtl/core/rng/avalanche_entropy create mode 160000 rtl/core/rng/rosc_entropy create mode 160000 rtl/core/rng/trng create mode 100644 rtl/debian/compat create mode 100644 rtl/debian/control create mode 100644 rtl/debian/copyright create mode 100755 rtl/debian/rules create mode 100644 rtl/debian/source/format create mode 100644 rtl/patches/01-config-cores.patch (limited to 'rtl') diff --git a/rtl/Makefile b/rtl/Makefile new file mode 100644 index 0000000..79ebf76 --- /dev/null +++ b/rtl/Makefile @@ -0,0 +1,16 @@ +BUILD_DIR := core/platform/novena/eim/build + +# This business of patching files that are under revision control +# because we can't be bothered to generate a proper configuration file +# is kind of nasty. + +all: + patch -p1 --forward +Section: misc +Priority: optional +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9) +Homepage: http://trac.cryptech.is/wiki + +Package: cryptech-novena-rtl +Architecture: all +Depends: libc6 (>= 2.13), ${misc:Depends} +Description: Cryptech open-source crypto hardware + "cryptech-novena-rtl" contains FGPA configuration (RTL bitstream) for the Cryptech project on + the Novena PVT-1 development board. diff --git a/rtl/debian/copyright b/rtl/debian/copyright new file mode 100644 index 0000000..fd7518e --- /dev/null +++ b/rtl/debian/copyright @@ -0,0 +1,27 @@ +Copyright (c) 2015, NORDUnet A/S All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +- Neither the name of the NORDUnet nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/rtl/debian/rules b/rtl/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/rtl/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/rtl/debian/source/format b/rtl/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/rtl/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/rtl/patches/01-config-cores.patch b/rtl/patches/01-config-cores.patch new file mode 100644 index 0000000..245e8a3 --- /dev/null +++ b/rtl/patches/01-config-cores.patch @@ -0,0 +1,27 @@ +Description: configure core selectors for cryptech dnssec signer + +--- core/platform/common/core_selector/src/rtl/cipher_selector.v~ ++++ core/platform/common/core_selector/src/rtl/cipher_selector.v +@@ -67,7 +67,7 @@ module cipher_selector + //---------------------------------------------------------------- + // Comment following lines to exclude cores from implementation. + `define USE_CORE_AES +- `define USE_CORE_CHACHA ++// `define USE_CORE_CHACHA + + + //---------------------------------------------------------------- +--- core/platform/common/core_selector/src/rtl/hash_selector.v~ ++++ core/platform/common/core_selector/src/rtl/hash_selector.v +@@ -125,9 +125,9 @@ XXX move to `define in wrapper core?? + // List of Available Cores + //---------------------------------------------------------------- + // Comment following lines to exclude cores from implementation. +- `define USE_CORE_SHA1 ++// `define USE_CORE_SHA1 + `define USE_CORE_SHA256 +- `define USE_CORE_SHA512 ++// `define USE_CORE_SHA512 + + + //---------------------------------------------------------------- -- cgit v1.2.3