linux/tools/include/asm
Jason A. Donenfeld 4920a2590e selftests/vDSO: add tests for vgetrandom
This adds two tests for vgetrandom. The first one, vdso_test_chacha,
simply checks that the assembly implementation of chacha20 matches that
of libsodium, a basic sanity check that should catch most errors. The
second, vdso_test_getrandom, is a full "libc-like" implementation of the
userspace side of vgetrandom() support. It's meant to be used also as
example code for libcs that might be integrating this.

Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2024-07-19 20:22:12 +02:00
..
alternative.h tools headers: Update the copy of x86's mem{cpy,set}_64.S used in 'perf bench' 2023-05-17 10:42:19 -03:00
atomic.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
barrier.h nds32: Remove the architecture 2022-03-07 13:54:59 +01:00
bug.h tools: Add missing stdio.h include to asm/bug.h header 2019-09-25 09:51:44 -03:00
export.h tools/headers: Synchronize kernel ABI headers 2017-11-04 09:27:46 +01:00
rwonce.h selftests/vDSO: add tests for vgetrandom 2024-07-19 20:22:12 +02:00
sections.h