Commit | Line | Data |
---|---|---|
f2f770d7 ST |
1 | #ifndef _CRYPTO_SHA256_GLUE_H |
2 | #define _CRYPTO_SHA256_GLUE_H | |
3 | ||
4 | #include <linux/crypto.h> | |
5 | #include <crypto/sha.h> | |
6 | ||
7 | extern struct shash_alg sha256_neon_algs[2]; | |
8 | ||
9 | extern int sha256_init(struct shash_desc *desc); | |
10 | ||
11 | extern int sha224_init(struct shash_desc *desc); | |
12 | ||
13 | extern int __sha256_update(struct shash_desc *desc, const u8 *data, | |
14 | unsigned int len, unsigned int partial); | |
15 | ||
16 | extern int sha256_update(struct shash_desc *desc, const u8 *data, | |
17 | unsigned int len); | |
18 | ||
19 | extern int sha256_export(struct shash_desc *desc, void *out); | |
20 | ||
21 | extern int sha256_import(struct shash_desc *desc, const void *in); | |
22 | ||
23 | #endif /* _CRYPTO_SHA256_GLUE_H */ |