[PAC] Provide information on where the SipHash tests were derived from

This commit is contained in:
Jakub Chlanda
2026-08-05 14:17:12 +00:00
parent 798151e197
commit 1b80b2dbb5
2 changed files with 17 additions and 0 deletions

View File

@@ -208,3 +208,12 @@ SPDX-FileCopyrightText = [
"Copyright (C) 2000-2024 Free Software Foundation, Inc.",
]
SPDX-License-Identifier = "GCC-exception-3.1"
[[annotations]]
path = "compiler/rustc_middle/src/ptrauth/llvm_siphash/tests.rs"
precedence = "override"
SPDX-FileCopyrightText = [
"2003-2019 University of Illinois at Urbana-Champaign.",
"The Rust Project Developers (see https://thanks.rust-lang.org)",
]
SPDX-License-Identifier = "Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT)"

View File

@@ -1,3 +1,11 @@
// Derived from code in LLVM, which is:
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Derived from:
// * https://github.com/llvm/llvm-project/blob/f2453af624353273325fe888d794a925ea9fe852/llvm/unittests/Support/SipHashTest.cpp
use llvm_siphash_vectors::{EXPECTED64, TEST_KEY};
use super::*;