riscv: Clarify dual-licensing wording for GCM and AES

A patch from »riscv: Clarify dual-licensing wording for GCM and AES« in state Accepted for openssl

From: Heiko Stuebner <heiko.stuebner@...> Date: Tue, 4 Jul 2023 18:16:41 +0200

Commit-Message

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 <heiko.stuebner@...> Reviewed-by: Tim Hudson <tjh@...> Reviewed-by: Paul Dale <pauli@...> (Merged from https://github.com/openssl/openssl/pull/21357)

Patch-Comment

crypto/aes/asm/aes-riscv32-zkn.pl | 13 +++++++------ crypto/aes/asm/aes-riscv64-zkn.pl | 13 +++++++------ crypto/modes/asm/ghash-riscv64.pl | 13 +++++++------ crypto/perlasm/riscv.pm | 13 +++++++------ 4 files changed, 28 insertions(+), 24 deletions(-)

Statistics

  • 28 lines added
  • 24 lines removed

Changes

---------------------- crypto/aes/asm/aes-riscv32-zkn.pl -----------------------
index 00d5d77359..67ec63230e 100644
@@ -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 <i@zenithal.me>
# All rights reserved.
---------------------- crypto/aes/asm/aes-riscv64-zkn.pl -----------------------
index 5c68242751..a0689ae645 100644
@@ -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 <i@zenithal.me>
# All rights reserved.
---------------------- crypto/modes/asm/ghash-riscv64.pl -----------------------
index 8ec323d3bc..2ed4740b49 100644
@@ -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 <christoph.muellner@vrull.eu>
# All rights reserved.
--------------------------- crypto/perlasm/riscv.pm ----------------------------
index 85d0af7d9a..90540b7dde 100644
@@ -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 <christoph.muellner@vrull.eu>
# All rights reserved.
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...