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