milos-linux/include/vdso
Jason A. Donenfeld 6fd13b282f random: vDSO: move prototype of arch chacha function to vdso/getrandom.h
Having the prototype for __arch_chacha20_blocks_nostack in
arch/x86/include/asm/vdso/getrandom.h meant that the prototype and large
doc comment were cloned by every architecture, which has been causing
unnecessary churn. Instead move it into include/vdso/getrandom.h, where
it can be shared by all archs implementing it.

As a side bonus, this then lets us use that prototype in the
vdso_test_chacha self test, to ensure that it matches the source, and
indeed doing so turned up some inconsistencies, which are rectified
here.

Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2024-09-13 17:28:35 +02:00
..
bits.h
clocksource.h
const.h
datapage.h Random number generator updates for Linux 6.11-rc1. 2024-07-24 10:29:50 -07:00
getrandom.h random: vDSO: move prototype of arch chacha function to vdso/getrandom.h 2024-09-13 17:28:35 +02:00
gettime.h
helpers.h vdso/helpers: Fix grammar in comments 2024-02-20 20:56:00 +01:00
jiffies.h
ktime.h
limits.h
math64.h vdso, math64: Provide mul_u64_u32_add_u64_shr() 2024-04-08 15:03:07 +02:00
processor.h
time.h
time32.h
time64.h
vsyscall.h