#ifndef _CRYPTO_SHA512_BASE_H
#define _CRYPTO_SHA512_BASE_H
#include <crypto/internal/hash.h>
#include <crypto/sha2.h>
#include <linux/crypto.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/unaligned.h>
sha512_block_fn;
static inline int sha384_base_init(struct shash_desc *desc)
{ … }
static inline int sha512_base_init(struct shash_desc *desc)
{ … }
static inline int sha512_base_do_update(struct shash_desc *desc,
const u8 *data,
unsigned int len,
sha512_block_fn *block_fn)
{ … }
static inline int sha512_base_do_finalize(struct shash_desc *desc,
sha512_block_fn *block_fn)
{ … }
static inline int sha512_base_finish(struct shash_desc *desc, u8 *out)
{ … }
#endif