/usr/include/libntru/hash.h is in libntru-0.5-dev 0.5-2.
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 | #ifndef NTRU_HASH_H
#define NTRU_HASH_H
#include <stdint.h>
void ntru_sha1(uint8_t *input, uint16_t input_len, uint8_t *digest);
void ntru_sha1_4way(uint8_t *input[4], uint16_t input_len, uint8_t *digest[4]);
void ntru_sha1_8way(uint8_t *input[8], uint16_t input_len, uint8_t *digest[8]);
void ntru_sha256(uint8_t *input, uint16_t input_len, uint8_t *digest);
void ntru_sha256_4way(uint8_t *input[4], uint16_t input_len, uint8_t *digest[4]);
void ntru_sha256_8way(uint8_t *input[8], uint16_t input_len, uint8_t *digest[8]);
#endif /* NTRU_HASH_H */
|