xref: /openbmc/linux/arch/arm/crypto/sha1.h (revision a24d22b2)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
290451d6bSArd Biesheuvel #ifndef ASM_ARM_CRYPTO_SHA1_H
390451d6bSArd Biesheuvel #define ASM_ARM_CRYPTO_SHA1_H
490451d6bSArd Biesheuvel 
590451d6bSArd Biesheuvel #include <linux/crypto.h>
6*a24d22b2SEric Biggers #include <crypto/sha1.h>
790451d6bSArd Biesheuvel 
890451d6bSArd Biesheuvel extern int sha1_update_arm(struct shash_desc *desc, const u8 *data,
990451d6bSArd Biesheuvel 			   unsigned int len);
1090451d6bSArd Biesheuvel 
1190451d6bSArd Biesheuvel extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
1290451d6bSArd Biesheuvel 			   unsigned int len, u8 *out);
1390451d6bSArd Biesheuvel 
1490451d6bSArd Biesheuvel #endif
15