2 * SHA-512 internal definitions
3 * Copyright (c) 2015, Pali Rohár <pali.rohar@gmail.com>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #define SHA512_BLOCK_SIZE 128
17 u8 buf[SHA512_BLOCK_SIZE];
20 void sha512_init(struct sha512_state *md);
21 int sha512_process(struct sha512_state *md, const unsigned char *in,
23 int sha512_done(struct sha512_state *md, unsigned char *out);
25 #endif /* SHA512_I_H */