From 398f003182a6edebbc4a98c63b2a83a29ae31f0f Mon Sep 17 00:00:00 2001 From: Sivert Sliper <sivert.sliper@arm.com> Date: Wed, 11 Mar 2020 14:22:18 +0000 Subject: [PATCH] Added license header --- CMakeLists.txt | 7 +++++++ Dockerfile | 7 +++++++ LICENSE | 2 +- aes/CMakeLists.txt | 7 +++++++ aes/generate-reference-output.c | 7 +++++++ aes/lipsum.h | 7 +++++++ aes/main.c | 7 +++++++ cmake/cm0-toolchain.cmake | 7 +++++++ cmake/common.cmake | 7 +++++++ cmake/msp430-toolchain.cmake | 7 +++++++ cmake/tail.cmake | 7 +++++++ crc/CMakeLists.txt | 7 +++++++ crc/generate-reference-output.c | 7 ++++++- crc/lipsum.h | 7 +++++++ crc/main.c | 7 +++++++ iclib/CMakeLists.txt | 7 +++++++ iclib/cm0-ic.S | 7 +++++++ iclib/cm0-ic.c | 7 +++++++ iclib/cm0-ic.h | 7 +++++++ iclib/config.h | 7 +++++++ iclib/dvdb-AS.h | 7 +++++++ iclib/dvdb-MS.h | 7 +++++++ iclib/dvdb.h | 7 +++++++ iclib/generate-threshold-table.py | 7 +++++++ iclib/ic.h | 7 +++++++ iclib/memory-management.c | 7 +++++++ iclib/memory-management.h | 7 +++++++ iclib/msp430-ic.c | 7 +++++++ 28 files changed, 189 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 642a8dd..fb9abc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + cmake_minimum_required(VERSION 3.2) IF(NOT DEFINED TARGET_ARCH) diff --git a/Dockerfile b/Dockerfile index 3219245..c51f064 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + # Stage 1: Install dependencies FROM ubuntu:bionic as msp-build RUN apt update && apt install -y ninja-build wget unzip vim diff --git a/LICENSE b/LICENSE index 7d578dc..4111ada 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2019, University of Southampton +Copyright (c) 2019-2020, University of Southampton All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/aes/CMakeLists.txt b/aes/CMakeLists.txt index 3aa2ba1..5e3639c 100644 --- a/aes/CMakeLists.txt +++ b/aes/CMakeLists.txt @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + cmake_minimum_required(VERSION 3.0) FOREACH(METHOD "MS" "AS" "QR") diff --git a/aes/generate-reference-output.c b/aes/generate-reference-output.c index bb19fd1..a83ded5 100644 --- a/aes/generate-reference-output.c +++ b/aes/generate-reference-output.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + /* Generate reference output from host machine */ #include <stdint.h> diff --git a/aes/lipsum.h b/aes/lipsum.h index 0dbcdc8..136f648 100644 --- a/aes/lipsum.h +++ b/aes/lipsum.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #include <stdint.h> #include "iclib/ic.h" diff --git a/aes/main.c b/aes/main.c index 9692e7c..2f8daf1 100644 --- a/aes/main.c +++ b/aes/main.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #include "support/support.h" #include "iclib/ic.h" #include "TI_aes_128_encr_only.h" diff --git a/cmake/cm0-toolchain.cmake b/cmake/cm0-toolchain.cmake index c839933..bf7c549 100644 --- a/cmake/cm0-toolchain.cmake +++ b/cmake/cm0-toolchain.cmake @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + INCLUDE(CMakeForceCompiler) # Find toolchain programs diff --git a/cmake/common.cmake b/cmake/common.cmake index 5bc62a1..52a3065 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + # This file sets up: # - Compiler flags diff --git a/cmake/msp430-toolchain.cmake b/cmake/msp430-toolchain.cmake index bb86b75..ef75af0 100644 --- a/cmake/msp430-toolchain.cmake +++ b/cmake/msp430-toolchain.cmake @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + INCLUDE(CMakeForceCompiler) # Find toolchain programs diff --git a/cmake/tail.cmake b/cmake/tail.cmake index 982c8f4..68f989e 100644 --- a/cmake/tail.cmake +++ b/cmake/tail.cmake @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + cmake_minimum_required(VERSION 3.13) # Commmon function to add linker script and definitions for each target diff --git a/crc/CMakeLists.txt b/crc/CMakeLists.txt index 9161305..f67eef5 100644 --- a/crc/CMakeLists.txt +++ b/crc/CMakeLists.txt @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + cmake_minimum_required(VERSION 3.0) FOREACH(METHOD "MS" "AS" "QR") diff --git a/crc/generate-reference-output.c b/crc/generate-reference-output.c index f8746db..e2fc144 100644 --- a/crc/generate-reference-output.c +++ b/crc/generate-reference-output.c @@ -1,4 +1,9 @@ -/* Generate reference output from host machine */ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ #include <stdint.h> #include <stdio.h> diff --git a/crc/lipsum.h b/crc/lipsum.h index 1ddcc2f..84ca450 100644 --- a/crc/lipsum.h +++ b/crc/lipsum.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #include <stdint.h> #include "iclib/ic.h" diff --git a/crc/main.c b/crc/main.c index 4463d0b..777457f 100644 --- a/crc/main.c +++ b/crc/main.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #include "support/support.h" #include "iclib/ic.h" #include "crc.h" diff --git a/iclib/CMakeLists.txt b/iclib/CMakeLists.txt index 0d1c36b..ec7ae2e 100644 --- a/iclib/CMakeLists.txt +++ b/iclib/CMakeLists.txt @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + cmake_minimum_required(VERSION 3.0) FOREACH(METHOD "MS" "AS" "QR") diff --git a/iclib/cm0-ic.S b/iclib/cm0-ic.S index 4264d57..3b7a129 100644 --- a/iclib/cm0-ic.S +++ b/iclib/cm0-ic.S @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + .file "ic.S" .cpu cortex-m0 .text diff --git a/iclib/cm0-ic.c b/iclib/cm0-ic.c index e962748..000f015 100644 --- a/iclib/cm0-ic.c +++ b/iclib/cm0-ic.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #include <string.h> #include "cmsis/core_cm0.h" #include "iclib/config.h" diff --git a/iclib/cm0-ic.h b/iclib/cm0-ic.h index d49131b..62fd982 100644 --- a/iclib/cm0-ic.h +++ b/iclib/cm0-ic.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef CM0_IC_H #define CM0_IC_H diff --git a/iclib/config.h b/iclib/config.h index 5b622b7..b73d6fd 100644 --- a/iclib/config.h +++ b/iclib/config.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef SRC_CONFIG_H_ #define SRC_CONFIG_H_ diff --git a/iclib/dvdb-AS.h b/iclib/dvdb-AS.h index 183e474..5e1d1d8 100644 --- a/iclib/dvdb-AS.h +++ b/iclib/dvdb-AS.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + // Voltage dop per byte saved/restored to/from FRAM when no energy is supplied. // Generated by generate-dvdb-table.py #include <stdint.h> diff --git a/iclib/dvdb-MS.h b/iclib/dvdb-MS.h index 75c342c..582fef8 100644 --- a/iclib/dvdb-MS.h +++ b/iclib/dvdb-MS.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + // Voltage dop per byte saved/restored to/from FRAM when no energy is supplied. // Generated by generate-dvdb-table.py #include <stdint.h> diff --git a/iclib/dvdb.h b/iclib/dvdb.h index 563c35c..9e0a051 100644 --- a/iclib/dvdb.h +++ b/iclib/dvdb.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + // Voltage dop per byte saved/restored to/from FRAM when no energy is supplied. // Generated by generate-dvdb-table.py #include <stdint.h> diff --git a/iclib/generate-threshold-table.py b/iclib/generate-threshold-table.py index be1a704..73e22e1 100755 --- a/iclib/generate-threshold-table.py +++ b/iclib/generate-threshold-table.py @@ -1,3 +1,10 @@ +# +# Copyright (c) 2019-2020, University of Southampton and Contributors. +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + #!/usr/bin/env python3 import sys diff --git a/iclib/ic.h b/iclib/ic.h index e7d1132..e062529 100644 --- a/iclib/ic.h +++ b/iclib/ic.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #if defined(MSP430_ARCH) #include "iclib/memory-management.h" #include "iclib/msp430-ic.h" diff --git a/iclib/memory-management.c b/iclib/memory-management.c index 3b59a2f..c6ea5dd 100644 --- a/iclib/memory-management.c +++ b/iclib/memory-management.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + /***************************** Include Files *********************************/ #include <stdint.h> #include <string.h> diff --git a/iclib/memory-management.h b/iclib/memory-management.h index 5d040be..b6834dd 100644 --- a/iclib/memory-management.h +++ b/iclib/memory-management.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef SRC_MEMORY_MANAGEMENT_H_ #define SRC_MEMORY_MANAGEMENT_H_ diff --git a/iclib/msp430-ic.c b/iclib/msp430-ic.c index aba50f2..9812742 100644 --- a/iclib/msp430-ic.c +++ b/iclib/msp430-ic.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2018-2020, University of Southampton. + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #include "iclib/config.h" #include "iclib/memory-management.h" #include "iclib/msp430-ic.h" -- GitLab