23 #ifndef LWCRYPTO_SKINNY_HASH_H
24 #define LWCRYPTO_SKINNY_HASH_H
50 #define SKINNY_HASH_SIZE 32
75 (
unsigned char *out,
const unsigned char *in,
unsigned long long inlen);
90 (
unsigned char *out,
const unsigned char *in,
unsigned long long inlen);
Definitions that are common across AEAD schemes.
int skinny_tk2_hash(unsigned char *out, const unsigned char *in, unsigned long long inlen)
Hashes a block of input data with SKINNY-tk2-HASH to generate a hash value.
Definition: skinny-hash.c:146
Meta-information about a hash algorithm that is related to an AEAD.
Definition: aead-common.h:204
int skinny_tk3_hash(unsigned char *out, const unsigned char *in, unsigned long long inlen)
Hashes a block of input data with SKINNY-tk3-HASH to generate a hash value.
Definition: skinny-hash.c:115
aead_hash_algorithm_t const skinny_tk3_hash_algorithm
Meta-information block for the SKINNY-tk3-HASH algorithm.
Definition: skinny-hash.c:28
aead_hash_algorithm_t const skinny_tk2_hash_algorithm
Meta-information block for the SKINNY-tk2-HASH algorithm.
Definition: skinny-hash.c:41