diff options
| author | Xi Ruoyao <[email protected]> | 2025-04-11 02:46:00 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-04-16 14:28:34 +0000 |
| commit | 89079520cef65d6da1e864eab4464effe5396e23 (patch) | |
| tree | 45d2409e296d13ed010ceacb2906c212f92102b6 /lib/crypto/mpi/mpi-cmp.c | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-89079520cef65d6da1e864eab4464effe5396e23.tar.gz kernel-89079520cef65d6da1e864eab4464effe5396e23.zip | |
RISC-V: vDSO: Wire up getrandom() vDSO implementation
Hook up the generic vDSO implementation to the generic vDSO getrandom
implementation by providing the required __arch_chacha20_blocks_nostack
and getrandom_syscall implementations. Also wire up the selftests.
The benchmark result:
vdso: 25000000 times in 2.466341333 seconds
libc: 25000000 times in 41.447720005 seconds
syscall: 25000000 times in 41.043926672 seconds
vdso: 25000000 x 256 times in 162.286219353 seconds
libc: 25000000 x 256 times in 2953.855018685 seconds
syscall: 25000000 x 256 times in 2796.268546000 seconds
Signed-off-by: Xi Ruoyao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
