mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:24:31 +01:00
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> |
||
|---|---|---|
| .. | ||
| bits.h | ||
| clocksource.h | ||
| const.h | ||
| datapage.h | ||
| getrandom.h | ||
| gettime.h | ||
| helpers.h | ||
| jiffies.h | ||
| ktime.h | ||
| limits.h | ||
| math64.h | ||
| processor.h | ||
| time.h | ||
| time32.h | ||
| time64.h | ||
| vsyscall.h | ||