xref: /openbmc/linux/arch/arm/crypto/sha256_glue.h (revision 2c684d89)
1 #ifndef _CRYPTO_SHA256_GLUE_H
2 #define _CRYPTO_SHA256_GLUE_H
3 
4 #include <linux/crypto.h>
5 
6 extern struct shash_alg sha256_neon_algs[2];
7 
8 int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data,
9 			     unsigned int len);
10 
11 int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
12 			    unsigned int len, u8 *hash);
13 
14 #endif /* _CRYPTO_SHA256_GLUE_H */
15