2017-11-06 02:38:20 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2017-08-10 13:25:24 +00:00
|
|
|
#ifndef ASM_ARM_CRYPTO_SHA1_H
|
|
|
|
#define ASM_ARM_CRYPTO_SHA1_H
|
|
|
|
|
|
|
|
#include <linux/crypto.h>
|
|
|
|
#include <crypto/sha.h>
|
|
|
|
|
|
|
|
extern int sha1_update_arm(struct shash_desc *desc, const u8 *data,
|
|
|
|
unsigned int len);
|
|
|
|
|
|
|
|
extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
|
|
|
|
unsigned int len, u8 *out);
|
|
|
|
|
|
|
|
#endif
|