File Index
Files and directories
Sign in
FILE

chacha.h

File preview with syntax highlighting.

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