/* * Copyright (C) 2014 Red Hat Inc. * * Author: Vivek Goyal <vgoyal@redhat.com> * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */#ifndef SHA256_H#define SHA256_H#include <linux/types.h>#include <crypto/sha.h>externintsha256_init(structsha256_state*sctx);externintsha256_update(structsha256_state*sctx,constu8*input,unsignedintlength);externintsha256_final(structsha256_state*sctx,u8*hash);#endif /* SHA256_H */