summaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto/chacha-s390.h
blob: 733744ce30f5b1c925fc110c60f37b0d0e9ccc53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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 */