Merge tag 'drm-misc-fixes-2022-02-23' of git://anongit.freedesktop.org/drm/drm-misc...
[platform/kernel/linux-starfive.git] / arch / arm / crypto / sha256_glue.h
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 */