ascon.h 250 Bytes
Newer Older
Martin Schläffer committed
1 2 3 4 5 6 7 8
#ifndef ASCON_H_
#define ASCON_H_

#include <stdint.h>

#include "word.h"

typedef struct {
Martin Schläffer committed
9
  uint64_t x[5];
Martin Schläffer committed
10 11
} state_t;

Martin Schläffer committed
12 13 14 15 16 17 18 19 20
typedef struct {
#if (CRYPTO_KEYBYTES == 20)
  uint64_t k0;
#endif
  uint64_t k1;
  uint64_t k2;
} key_t;

#endif /* ASCON_H_ */