]> Git Repo - J-linux.git/commitdiff
siphash: add SPDX tags as sole licensing authority
authorJason A. Donenfeld <[email protected]>
Wed, 18 May 2022 13:23:45 +0000 (15:23 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 19 May 2022 16:54:22 +0000 (18:54 +0200)
The text "dual BSD/GPLv2 license" is somewhat ambiguous, and moving this
over to SPDX is overdue. This commit adds SPDX tags to the relevant
files and clarifies that it's GPLv2 only and 3-clause BSD. It also
removes the old text, so that the SPDX tags are the only source of the
information.

Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
include/linux/siphash.h
lib/siphash.c
lib/test_siphash.c

index cce8a9acc76cbe423a1e4e7c9c8fcba29cb5c66b..9e822311b29ec54a397268bed1412f0581c75b2d 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (C) 2016 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
- *
- * This file is provided under a dual BSD/GPLv2 license.
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
+/* Copyright (C) 2016-2022 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
  *
  * SipHash: a fast short-input PRF
  * https://131002.net/siphash/
index 72b9068ab57bffbb308e1c449218aa205f5a8ffd..f08fd988173b6d008a97536b169387ecb9e04852 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (C) 2016 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
- *
- * This file is provided under a dual BSD/GPLv2 license.
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
+/* Copyright (C) 2016-2022 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
  *
  * SipHash: a fast short-input PRF
  * https://131002.net/siphash/
index a6d854d933bffdd2cb8b8f0f80e61230dc7d26f7..a96788d0141d4fc08c03086772e7b4f2a191487c 100644 (file)
@@ -1,8 +1,7 @@
-/* Test cases for siphash.c
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
+/* Copyright (C) 2016-2022 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
  *
- * Copyright (C) 2016 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
- *
- * This file is provided under a dual BSD/GPLv2 license.
+ * Test cases for siphash.c
  *
  * SipHash: a fast short-input PRF
  * https://131002.net/siphash/
This page took 0.057306 seconds and 4 git commands to generate.