all repos — TinyCrypT @ 15791d38c8f011a16648742e77b25435ee93ab76

Short and sweet classical cryptographic primitives

tinycrypt/kangarootwelve128.h (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
#ifndef TCT_KT128_H
#define TCT_KT128_H

#include <stdint.h>

/// Implements the KangarooTwelve128 hashing algorithm as defined in RFC 8961
void tct_kangarootwelve128 (const uint8_t *input, const uint64_t input_len,
                            const uint8_t *custom_str, const uint64_t cs_len,
                            uint8_t *output, const uint64_t output_len);

#endif