File: sha384.h

package info (click to toggle)
bglibs 1.106-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,792 kB
  • ctags: 4,145
  • sloc: ansic: 14,028; perl: 625; makefile: 121; sh: 64
file content (15 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef BGLIBS__SHA384__H__
#define BGLIBS__SHA384__H__

#include <sysdeps.h>
#include <crypto/sha512.h>

#define SHA384_DIGEST_LENGTH (384/8)

typedef struct SHA512_ctx SHA384_ctx;

void SHA384_init  (SHA384_ctx*);
#define SHA384_update SHA512_update
void SHA384_final (SHA384_ctx*, uint8*);

#endif