summaryrefslogtreecommitdiff
path: root/nist/api.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-29 14:48:22 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-29 14:49:27 +0100
commitffd17baa2f156d90f854e72eee374f0bc5abc99e (patch)
tree61d3cd9c94520be4c34261f11912fcf805a05d84 /nist/api.h
parent65a052061b6621ef77b90b3e1ed7f85356f1d0bb (diff)
downloadlilliput-ae-implem-ffd17baa2f156d90f854e72eee374f0bc5abc99e.tar.xz
Ajout d'un script de génération de livraison pour le NIST
Diffstat (limited to 'nist/api.h')
-rw-r--r--nist/api.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/nist/api.h b/nist/api.h
new file mode 100644
index 0000000..c952db3
--- /dev/null
+++ b/nist/api.h
@@ -0,0 +1,12 @@
+#ifndef API_H
+#define API_H
+
+#include "parameters.h"
+
+#define CRYPTO_KEYBYTES KEY_BYTES
+#define CRYPTO_NSECBYTES 0
+#define CRYPTO_NPUBBYTES NONCE_BYTES
+#define CRYPTO_ABYTES TAG_BYTES
+#define CRYPTO_NOOVERLAP 1
+
+#endif /* API_H */