From cffedb548f58ea2252a58d53a2b85aa15c7d9390 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Mon, 9 Sep 2019 16:28:54 +0100 Subject: [PATCH] Add SPDX lines to each imported TinyCrypt file Out of the 6 tinycrypt files included in Mbed TLS, this commit adds SPDX lines to each for the BSD 3 Clause licence. --- include/tinycrypt/ecc.h | 2 ++ include/tinycrypt/ecc_dh.h | 2 ++ include/tinycrypt/ecc_dsa.h | 2 ++ tinycrypt/ecc.c | 2 ++ tinycrypt/ecc_dh.c | 2 ++ tinycrypt/ecc_dsa.c | 2 ++ 6 files changed, 12 insertions(+) diff --git a/include/tinycrypt/ecc.h b/include/tinycrypt/ecc.h index 37a7ef1af..55f1ea86e 100644 --- a/include/tinycrypt/ecc.h +++ b/include/tinycrypt/ecc.h @@ -3,6 +3,8 @@ /* Copyright (c) 2014, Kenneth MacKay * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * diff --git a/include/tinycrypt/ecc_dh.h b/include/tinycrypt/ecc_dh.h index c680a77e6..ac4ff142d 100644 --- a/include/tinycrypt/ecc_dh.h +++ b/include/tinycrypt/ecc_dh.h @@ -4,6 +4,8 @@ * Copyright (c) 2014, Kenneth MacKay * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * diff --git a/include/tinycrypt/ecc_dsa.h b/include/tinycrypt/ecc_dsa.h index cc5eebcdd..349f061b3 100644 --- a/include/tinycrypt/ecc_dsa.h +++ b/include/tinycrypt/ecc_dsa.h @@ -4,6 +4,8 @@ * Copyright (c) 2014, Kenneth MacKay * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * diff --git a/tinycrypt/ecc.c b/tinycrypt/ecc.c index ab1956a50..1f32170dd 100644 --- a/tinycrypt/ecc.c +++ b/tinycrypt/ecc.c @@ -4,6 +4,8 @@ * Copyright (c) 2014, Kenneth MacKay * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * 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, diff --git a/tinycrypt/ecc_dh.c b/tinycrypt/ecc_dh.c index 8aae1a214..08b92a423 100644 --- a/tinycrypt/ecc_dh.c +++ b/tinycrypt/ecc_dh.c @@ -4,6 +4,8 @@ * Copyright (c) 2014, Kenneth MacKay * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * 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, diff --git a/tinycrypt/ecc_dsa.c b/tinycrypt/ecc_dsa.c index 374309191..c093ebefc 100644 --- a/tinycrypt/ecc_dsa.c +++ b/tinycrypt/ecc_dsa.c @@ -3,6 +3,8 @@ /* Copyright (c) 2014, Kenneth MacKay * All rights reserved. * + * SPDX-License-Identifier: BSD-3-Clause + * * 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,