xref: /openbmc/linux/arch/arm/crypto/sha1.h (revision 90451d6b)
190451d6bSArd Biesheuvel #ifndef ASM_ARM_CRYPTO_SHA1_H
290451d6bSArd Biesheuvel #define ASM_ARM_CRYPTO_SHA1_H
390451d6bSArd Biesheuvel 
490451d6bSArd Biesheuvel #include <linux/crypto.h>
590451d6bSArd Biesheuvel #include <crypto/sha.h>
690451d6bSArd Biesheuvel 
790451d6bSArd Biesheuvel extern int sha1_update_arm(struct shash_desc *desc, const u8 *data,
890451d6bSArd Biesheuvel 			   unsigned int len);
990451d6bSArd Biesheuvel 
1090451d6bSArd Biesheuvel extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
1190451d6bSArd Biesheuvel 			   unsigned int len, u8 *out);
1290451d6bSArd Biesheuvel 
1390451d6bSArd Biesheuvel #endif
14