Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/lib/crypto/mips/chacha.h
29278 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* ChaCha and HChaCha functions (MIPS optimized)
4
*
5
* Copyright (C) 2019 Linaro, Ltd. <[email protected]>
6
*/
7
8
#include <linux/kernel.h>
9
10
asmlinkage void chacha_crypt_arch(struct chacha_state *state,
11
u8 *dst, const u8 *src,
12
unsigned int bytes, int nrounds);
13
asmlinkage void hchacha_block_arch(const struct chacha_state *state,
14
u32 out[HCHACHA_OUT_WORDS], int nrounds);
15
16