D | chacha-glue.c | 3 * ARM NEON accelerated ChaCha and XChaCha stream ciphers, 20 #include <asm/neon.h> 111 bool neon) in chacha_stream_xor() argument 127 if (!IS_ENABLED(CONFIG_KERNEL_MODE_NEON) || !neon) { in chacha_stream_xor() 143 static int do_chacha(struct skcipher_request *req, bool neon) in do_chacha() argument 148 return chacha_stream_xor(req, ctx, req->iv, neon); in do_chacha() 161 static int do_xchacha(struct skcipher_request *req, bool neon) in do_xchacha() argument 171 if (!IS_ENABLED(CONFIG_KERNEL_MODE_NEON) || !neon) { in do_xchacha() 182 return chacha_stream_xor(req, &subctx, real_iv, neon); in do_xchacha() 247 .base.cra_driver_name = "chacha20-neon", [all …]
|