From 6e929204641737b32a15e5f58e73aa4bc397cfe6 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Mon, 16 Dec 2024 02:23:15 +0100 Subject: [PATCH] crypto/sha1: migrate to SPDX identifier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. define NuttX local NuttX-PublicDomain identifier “Public Domain” is a concept distinct from copyright licensing; it generally means that the work no longer has any copyright protection or ownership, and therefore requires no license permission in order to use, copy, modify, distribute, perform, display, etc. In the United States – and many jurisdictions – copyright protections attach automatically to creative works upon creation if they satisfy certain minimum criteria. “Public Domain” would thus represent a significant change to the legal status of the work. The rules around “Public Domain” often vary or are unspecified jurisdiction to jurisdiction. Adding to the confusion, some jurisdictions may not even recognize the concept of “Public Domain” (or similar). As such, a license may nevertheless be required or implied in these cases. Even in the U.S., there is no clear, officially-sanctioned procedure for affirmatively placing copyright-eligible works into the “Public Domain” aside from natural statutory expiration of copyright. The bottom-line is, there are few if any objective, brightline rules for proactively placing copyright-eligible works into the Public Domain that we can broadly rely on. Signed-off-by: Alin Jerpelea --- crypto/sha1.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/crypto/sha1.c b/crypto/sha1.c index 4cca56bea0..b19d96c7e6 100644 --- a/crypto/sha1.c +++ b/crypto/sha1.c @@ -1,20 +1,11 @@ /**************************************************************************** * crypto/sha1.c * - * $OpenBSD: sha1.c,v 1.11 2014/12/28 10:04:35 tedu Exp $ + * SPDX-License-Identifier: NuttX-PublicDomain * - * SHA-1 in C * By Steve Reid * 100% Public Domain * - * Test Vectors (from FIPS PUB 180-1) - * "abc" - * A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D - * "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" - * 84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1 - * A million repetitions of "a" - * 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F - ****************************************************************************/ /****************************************************************************