summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/crypto/sha256_glue.h
blob: 7cf0bf786ada13d49497eeb0af01cbc7bf75b78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _CRYPTO_SHA256_GLUE_H
#define _CRYPTO_SHA256_GLUE_H

#include <linux/crypto.h>

extern struct shash_alg sha256_neon_algs[2];

int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data,
			     unsigned int len);

int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
			    unsigned int len, u8 *hash);

#endif /* _CRYPTO_SHA256_GLUE_H */