From: Heiko Stuebner Date: Tue, 4 Jul 2023 16:16:41 +0000 (+0200) Subject: riscv: Clarify dual-licensing wording for GCM and AES X-Git-Tag: openssl-3.2.0-alpha1~505 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e76b388521ccafddd8ba19d9ab62c8d25e83e0c;p=thirdparty%2Fopenssl.git riscv: Clarify dual-licensing wording for GCM and AES The original text for the Apache + BSD dual licensing for riscv GCM and AES perlasm was taken from other openSSL users like crypto/crypto/LPdir_unix.c . Though Eric pointed out that the dual-licensing text could be read in a way negating the second license [0] and suggested to clarify the text even more. So do this here for all of the GCM, AES and shared riscv.pm . We already had the agreement of all involved developers for the actual dual licensing in [0] and [1], so this is only a better clarification for this. [0] https://github.com/openssl/openssl/pull/20649#issuecomment-1589558790 [1] https://github.com/openssl/openssl/pull/21018 Signed-off-by: Heiko Stuebner Reviewed-by: Tim Hudson Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21357) --- diff --git a/crypto/aes/asm/aes-riscv32-zkn.pl b/crypto/aes/asm/aes-riscv32-zkn.pl index 00d5d77359..67ec63230e 100644 --- a/crypto/aes/asm/aes-riscv32-zkn.pl +++ b/crypto/aes/asm/aes-riscv32-zkn.pl @@ -1,13 +1,14 @@ #! /usr/bin/env perl +# This file is dual-licensed, meaning that you can use it under your +# choice of either of the following two licenses: +# # Copyright 2022 The OpenSSL Project Authors. All Rights Reserved. # -# Licensed under the Apache License 2.0 (the "License"). You may not use -# this file except in compliance with the License. You can obtain a copy -# in the file LICENSE in the source distribution or at +# Licensed under the Apache License 2.0 (the "License"). You can obtain +# a copy in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html - -# This file is dual-licensed and is also available under the following -# terms: +# +# or # # Copyright (c) 2022, Hongren (Zenithal) Zheng # All rights reserved. diff --git a/crypto/aes/asm/aes-riscv64-zkn.pl b/crypto/aes/asm/aes-riscv64-zkn.pl index 5c68242751..a0689ae645 100644 --- a/crypto/aes/asm/aes-riscv64-zkn.pl +++ b/crypto/aes/asm/aes-riscv64-zkn.pl @@ -1,13 +1,14 @@ #! /usr/bin/env perl +# This file is dual-licensed, meaning that you can use it under your +# choice of either of the following two licenses: +# # Copyright 2022 The OpenSSL Project Authors. All Rights Reserved. # -# Licensed under the Apache License 2.0 (the "License"). You may not use -# this file except in compliance with the License. You can obtain a copy -# in the file LICENSE in the source distribution or at +# Licensed under the Apache License 2.0 (the "License"). You can obtain +# a copy in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html - -# This file is dual-licensed and is also available under the following -# terms: +# +# or # # Copyright (c) 2022, Hongren (Zenithal) Zheng # All rights reserved. diff --git a/crypto/modes/asm/ghash-riscv64.pl b/crypto/modes/asm/ghash-riscv64.pl index 8ec323d3bc..2ed4740b49 100644 --- a/crypto/modes/asm/ghash-riscv64.pl +++ b/crypto/modes/asm/ghash-riscv64.pl @@ -1,13 +1,14 @@ #! /usr/bin/env perl +# This file is dual-licensed, meaning that you can use it under your +# choice of either of the following two licenses: +# # Copyright 2022 The OpenSSL Project Authors. All Rights Reserved. # -# Licensed under the Apache License 2.0 (the "License"). You may not use -# this file except in compliance with the License. You can obtain a copy -# in the file LICENSE in the source distribution or at +# Licensed under the Apache License 2.0 (the "License"). You can obtain +# a copy in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html - -# This file is dual-licensed and is also available under the following -# terms: +# +# or # # Copyright (c) 2023, Christoph Müllner # All rights reserved. diff --git a/crypto/perlasm/riscv.pm b/crypto/perlasm/riscv.pm index 85d0af7d9a..90540b7dde 100644 --- a/crypto/perlasm/riscv.pm +++ b/crypto/perlasm/riscv.pm @@ -1,13 +1,14 @@ #! /usr/bin/env perl +# This file is dual-licensed, meaning that you can use it under your +# choice of either of the following two licenses: +# # Copyright 2023 The OpenSSL Project Authors. All Rights Reserved. # -# Licensed under the Apache License 2.0 (the "License"). You may not use -# this file except in compliance with the License. You can obtain a copy -# in the file LICENSE in the source distribution or at +# Licensed under the Apache License 2.0 (the "License"). You can obtain +# a copy in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html - -# This file is dual-licensed and is also available under the following -# terms: +# +# or # # Copyright (c) 2023, Christoph Müllner # All rights reserved.