/usr/include/bglibs/crypto/surf.h is in libbg1-dev 1.106-3.
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 20 21 22 23 24 25 26 27 | #ifndef BGLIBS__SURF__H__
#define BGLIBS__SURF__H__
#include <uint32.h>
/** \defgroup crypto crypto: Cryptographic routines
@{ */
/** The number of 32-bit words output by surf */
#define SURF_OUT_U32 8
/** The number of 32-bit words used as input by surf */
#define SURF_IN_U32 12
/** The number of 32-bit words used as seed data by surf */
#define SURF_SEED_U32 32
/** The number of bytes output by surf */
#define SURF_OUT 32
/** The number of bytes used as input by surf */
#define SURF_IN 48
/** The number of bytes used as seed data by surf */
#define SURF_SEED 128
void surf(uint32 out[8], const uint32 in[12], const uint32 seed[32]);
/** @} */
#endif
|