Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Jussi Kivilinna | 6046825 | 2014-07-29 17:14:14 +0100 | [diff] [blame] | 2 | #ifndef ASM_ARM_CRYPTO_SHA1_H |
| 3 | #define ASM_ARM_CRYPTO_SHA1_H |
| 4 | |
| 5 | #include <linux/crypto.h> |
| 6 | #include <crypto/sha.h> |
| 7 | |
| 8 | extern int sha1_update_arm(struct shash_desc *desc, const u8 *data, |
| 9 | unsigned int len); |
| 10 | |
Ard Biesheuvel | 90451d6 | 2015-04-09 12:55:39 +0200 | [diff] [blame] | 11 | extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data, |
| 12 | unsigned int len, u8 *out); |
| 13 | |
Jussi Kivilinna | 6046825 | 2014-07-29 17:14:14 +0100 | [diff] [blame] | 14 | #endif |