Beispiel #1
0
void hash_extra_jh(const void *data, size_t length, char *hash) {
  int r = jh_hash(HASH_SIZE * 8, data, 8 * length, (uint8_t*)hash);
  assert(SUCCESS == r);
}
Beispiel #2
0
static void do_jh_hash(const void* input, size_t len, char* output) {
	int r = jh_hash(HASH_SIZE * 8, input, 8 * len, (uint8_t*)output);
	assert(likely(SUCCESS == r));
}
void do_jh_hash(const void* input, size_t len, char* output) {
	jh_hash(32 * 8, input, 8 * len, (uint8_t*)output);
}