• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * SHA-384 internal definitions
3  * Copyright (c) 2015, Pali Rohár <pali.rohar@gmail.com>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef SHA384_I_H
10 #define SHA384_I_H
11 
12 #include "sha512_i.h"
13 
14 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
15 
16 #define sha384_state sha512_state
17 
18 void sha384_init(struct sha384_state *md);
19 int sha384_process(struct sha384_state *md, const unsigned char *in,
20 		   unsigned long inlen);
21 int sha384_done(struct sha384_state *md, unsigned char *out);
22 
23 #endif /* SHA384_I_H */
24