/usr/include/bglibs/crypto/sha512.h is in libbg1-dev 1.106-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #ifndef BGLIBS__SHA512__H__
#define BGLIBS__SHA512__H__
#include <sysdeps.h>
#define SHA512_DIGEST_LENGTH (512/8)
struct SHA512_ctx {
uint64 H[8];
uint64 bytes;
uint8 M[256];
};
typedef struct SHA512_ctx SHA512_ctx;
void SHA512_init (SHA512_ctx*);
void SHA512_update(SHA512_ctx*, const void*, unsigned long);
void SHA512_final (SHA512_ctx*, uint8*);
#endif
|