]> git.itanic.dy.fi Git - linux-stable/commitdiff
treewide: Add SPDX identifier to IETF ASN.1 modules
authorLukas Wunner <lukas@wunner.de>
Sat, 21 Oct 2023 11:23:44 +0000 (13:23 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:28 +0000 (18:04 +0800)
Per section 4.c. of the IETF Trust Legal Provisions, "Code Components"
in IETF Documents are licensed on the terms of the BSD-3-Clause license:

https://trustee.ietf.org/documents/trust-legal-provisions/tlp-5/

The term "Code Components" specifically includes ASN.1 modules:

https://trustee.ietf.org/documents/trust-legal-provisions/code-components-list-3/

Add an SPDX identifier as well as a copyright notice pursuant to section
6.d. of the Trust Legal Provisions to all ASN.1 modules in the tree
which are derived from IETF Documents.

Section 4.d. of the Trust Legal Provisions requests that each Code
Component identify the RFC from which it is taken, so link that RFC
in every ASN.1 module.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/asymmetric_keys/pkcs7.asn1
crypto/asymmetric_keys/pkcs8.asn1
crypto/asymmetric_keys/x509.asn1
crypto/asymmetric_keys/x509_akid.asn1
crypto/rsaprivkey.asn1
crypto/rsapubkey.asn1
fs/smb/server/ksmbd_spnego_negtokeninit.asn1
fs/smb/server/ksmbd_spnego_negtokentarg.asn1
net/ipv4/netfilter/nf_nat_snmp_basic.asn1

index 1eca740b816ace4680870df9e3a7885b8ba47538..28e1f4a41c14426666277b97c8014455c451928b 100644 (file)
@@ -1,3 +1,10 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 2009 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc5652#section-3
+
 PKCS7ContentInfo ::= SEQUENCE {
        contentType     ContentType ({ pkcs7_check_content_type }),
        content         [0] EXPLICIT SignedData OPTIONAL
index 702c41a3c7137a0fa69640cf743633b4d950767f..a2a8af2633d80ebbfc7e553e7a1ab2dcd0a2ac84 100644 (file)
@@ -1,3 +1,9 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 2010 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc5958#section-2
 --
 -- This is the unencrypted variant
 --
index 92d59c32f96a8e6ae132212f51ad0453fefdd59c..feb9573cacce07e2a0595296e2e1c47d21605b38 100644 (file)
@@ -1,3 +1,10 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 2008 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc5280#section-4
+
 Certificate ::= SEQUENCE {
        tbsCertificate          TBSCertificate ({ x509_note_tbs_certificate }),
        signatureAlgorithm      AlgorithmIdentifier,
index c7818ff4e606f8b808a19182b57068b744f6ec69..0f8355cf1907800aa9d09dca66f33a469e28c644 100644 (file)
@@ -1,3 +1,8 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 2008 IETF Trust and the persons identified as authors
+-- of the code
+--
 -- X.509 AuthorityKeyIdentifier
 -- rfc5280 section 4.2.1.1
 
index 4ce06758e8af758de779b276663e5c7d6118e470..76865124a9c716efd87a8d933d238de2476c60b0 100644 (file)
@@ -1,3 +1,10 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 2016 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc8017#appendix-A.1.2
+
 RsaPrivKey ::= SEQUENCE {
        version         INTEGER,
        n               INTEGER ({ rsa_get_n }),
index 725498e461d25fa46706b62810eaea88a2d645c0..0d32b1ca6270f7a76977dd5f0d0e88a9fc03de2f 100644 (file)
@@ -1,3 +1,10 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 2016 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc8017#appendix-A.1.1
+
 RsaPubKey ::= SEQUENCE {
        n INTEGER ({ rsa_get_n }),
        e INTEGER ({ rsa_get_e })
index 0065f191b54b7af8f69e19f52b29f04509a99e61..001513806fc0d87907c8f7b028c2a73c5097fee8 100644 (file)
@@ -1,3 +1,11 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 1998, 2000 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc2478#section-3.2.1
+-- https://www.rfc-editor.org/rfc/rfc2743#section-3.1
+
 GSSAPI ::=
        [APPLICATION 0] IMPLICIT SEQUENCE {
                thisMech
index 1151933e7b9c581bd00e5c29cbcd146c504f4776..797e485d57f1ed292fc97aa23fb7f0d26a9326ca 100644 (file)
@@ -1,3 +1,10 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 1998 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc2478#section-3.2.1
+
 GSSAPI ::=
        CHOICE {
                negTokenInit
index 24b73268f362f0c779a9379ac3aafc961b0a2a18..dc2cc579416095b4a1e55c3a81eb2e764e4f2e94 100644 (file)
@@ -1,3 +1,11 @@
+-- SPDX-License-Identifier: BSD-3-Clause
+--
+-- Copyright (C) 1990, 2002 IETF Trust and the persons identified as authors
+-- of the code
+--
+-- https://www.rfc-editor.org/rfc/rfc1157#section-4
+-- https://www.rfc-editor.org/rfc/rfc3416#section-3
+
 Message ::=
        SEQUENCE {
                version