sha384_i.h 573 B

1234567891011121314151617181920212223
  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. #ifndef SHA384_I_H
  9. #define SHA384_I_H
  10. #include "sha512_i.h"
  11. #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
  12. #define sha384_state sha512_state
  13. void sha384_init(struct sha384_state *md);
  14. int sha384_process(struct sha384_state *md, const unsigned char *in,
  15. unsigned long inlen);
  16. int sha384_done(struct sha384_state *md, unsigned char *out);
  17. #endif /* SHA384_I_H */