mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-10 11:59:48 +00:00
Continue disentangling the crypto library functions from the generic crypto infrastructure by moving the s390 ChaCha library functions into a new directory arch/s390/lib/crypto/ that does not depend on CRYPTO. This mirrors the distinction between crypto/ and lib/crypto/. Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
15 lines
277 B
C
15 lines
277 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* s390 ChaCha stream cipher.
|
|
*
|
|
* Copyright IBM Corp. 2021
|
|
*/
|
|
|
|
#ifndef _CHACHA_S390_H
|
|
#define _CHACHA_S390_H
|
|
|
|
void chacha20_vx(u8 *out, const u8 *inp, size_t len, const u32 *key,
|
|
const u32 *counter);
|
|
|
|
#endif /* _CHACHA_S390_H */
|