https://github.com/torvalds/linux
Raw File
Tip revision: 1048ba83fb1c00cd24172e23e8263972f6b5d9ac authored by Linus Torvalds on 31 January 2021, 21:50:09 UTC
Linux 5.11-rc6
Tip revision: 1048ba8
sha256_glue.h
/* SPDX-License-Identifier: GPL-2.0 */
#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 */
back to top