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