From c61d516e81825c8af85919c19fd146224a9de86c Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 7 Aug 2024 17:18:30 +0200 Subject: [PATCH] Added copyright notices to unit test files --- tools/unit-tests/unit-delta.c | 22 ++++++++++++++++++++++ tools/unit-tests/unit-enc-nvm.c | 22 ++++++++++++++++++++++ tools/unit-tests/unit-nvm.c | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/tools/unit-tests/unit-delta.c b/tools/unit-tests/unit-delta.c index 994d9fc8..d231c8a3 100644 --- a/tools/unit-tests/unit-delta.c +++ b/tools/unit-tests/unit-delta.c @@ -1,3 +1,25 @@ +/* unit-delta.c + * + * unit tests for delta updates module + * + * Copyright (C) 2024 wolfSSL Inc. + * + * This file is part of wolfBoot. + * + * wolfBoot is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * wolfBoot is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + */ #include #include #include diff --git a/tools/unit-tests/unit-enc-nvm.c b/tools/unit-tests/unit-enc-nvm.c index 426473d0..c6c58a9b 100644 --- a/tools/unit-tests/unit-enc-nvm.c +++ b/tools/unit-tests/unit-enc-nvm.c @@ -1,3 +1,25 @@ +/* unit-enc-nvm.c + * + * unit tests for encrypted updates with nvm_flash_writeonce fix + * + * Copyright (C) 2024 wolfSSL Inc. + * + * This file is part of wolfBoot. + * + * wolfBoot is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * wolfBoot is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + */ #define WOLFBOOT_HASH_SHA256 #define IMAGE_HEADER_SIZE 256 #define UNIT_TEST diff --git a/tools/unit-tests/unit-nvm.c b/tools/unit-tests/unit-nvm.c index 56b12b92..dd0099c1 100644 --- a/tools/unit-tests/unit-nvm.c +++ b/tools/unit-tests/unit-nvm.c @@ -1,3 +1,25 @@ +/* unit-nvm.c + * + * unit tests for nvm_flash_writeonce workaround. + * + * Copyright (C) 2024 wolfSSL Inc. + * + * This file is part of wolfBoot. + * + * wolfBoot is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * wolfBoot is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + */ #define WOLFBOOT_HASH_SHA256 #define IMAGE_HEADER_SIZE 256 #define UNIT_TEST