Lines Matching refs:state
22 void siphash24_init(struct siphash *state, const uint8_t k[static 16]);
23 void siphash24_compress(const void *in, size_t inlen, struct siphash *state);
24 #define siphash24_compress_byte(byte, state) siphash24_compress((const uint8_t[]) { (byte) }, 1, (s… argument
26 static inline void siphash24_compress_boolean(bool in, struct siphash *state) { in siphash24_compress_boolean() argument
29 siphash24_compress(&i, sizeof i, state); in siphash24_compress_boolean()
32 static inline void siphash24_compress_usec_t(usec_t in, struct siphash *state) { in siphash24_compress_usec_t() argument
33 siphash24_compress(&in, sizeof in, state); in siphash24_compress_usec_t()
36 static inline void siphash24_compress_safe(const void *in, size_t inlen, struct siphash *state) { in siphash24_compress_safe() argument
40 siphash24_compress(in, inlen, state); in siphash24_compress_safe()
43 static inline void siphash24_compress_string(const char *in, struct siphash *state) { in siphash24_compress_string() argument
44 siphash24_compress_safe(in, strlen_ptr(in), state); in siphash24_compress_string()
47 uint64_t siphash24_finalize(struct siphash *state);