mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-04 05:03:54 +00:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| parse_vdso.c | ||
| parse_vdso.h | ||
| vdso_config.h | ||
| vdso_standalone_test_x86.c | ||
| vdso_test_abi.c | ||
| vdso_test_chacha.c | ||
| vdso_test_clock_getres.c | ||
| vdso_test_correctness.c | ||
| vdso_test_getcpu.c | ||
| vdso_test_getrandom.c | ||
| vdso_test_gettimeofday.c | ||