1*13cecc52SEric Biggers /* SPDX-License-Identifier: GPL-2.0 */ 2*13cecc52SEric Biggers /* 3*13cecc52SEric Biggers * ChaCha and HChaCha functions (MIPS optimized) 4*13cecc52SEric Biggers * 5*13cecc52SEric Biggers * Copyright (C) 2019 Linaro, Ltd. <ard.biesheuvel@linaro.org> 6*13cecc52SEric Biggers */ 7*13cecc52SEric Biggers 8*13cecc52SEric Biggers #include <linux/kernel.h> 9*13cecc52SEric Biggers 10*13cecc52SEric Biggers asmlinkage void chacha_crypt_arch(struct chacha_state *state, 11*13cecc52SEric Biggers u8 *dst, const u8 *src, 12*13cecc52SEric Biggers unsigned int bytes, int nrounds); 13*13cecc52SEric Biggers asmlinkage void hchacha_block_arch(const struct chacha_state *state, 14*13cecc52SEric Biggers u32 out[HCHACHA_OUT_WORDS], int nrounds); 15