summaryrefslogtreecommitdiffstats
path: root/arch/arm/crypto/sha1.h
blob: 758db3e9ff0a93e69573d0c86e3dafdab92efbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASM_ARM_CRYPTO_SHA1_H
#define ASM_ARM_CRYPTO_SHA1_H

#include <linux/crypto.h>
#include <crypto/sha.h>

extern int sha1_update_arm(struct shash_desc *desc, const u8 *data,
			   unsigned int len);

extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
			   unsigned int len, u8 *out);

#endif