summaryrefslogtreecommitdiff
path: root/nist/TestVectorGen/crypto_aead.h
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-29 15:21:39 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-29 15:21:39 +0100
commit4ee53ce2ac2e32aa9ae9c2334f0770d7f5f28fa8 (patch)
treea8ff5ca7466b5e9f4c80d2addffca6119ff8da4a /nist/TestVectorGen/crypto_aead.h
parentffd17baa2f156d90f854e72eee374f0bc5abc99e (diff)
downloadlilliput-ae-implem-4ee53ce2ac2e32aa9ae9c2334f0770d7f5f28fa8.tar.xz
Ajout d'une cible dans le Makefile pour la livraison NIST
Et aussi : - extraction des sources de TestVectorGen.zip (la flemme de m'assurer que le conteneur GCC aura unzip) - dépôt dans le dossier results ; on laissera Gitlab archiver le résultat pour nous
Diffstat (limited to 'nist/TestVectorGen/crypto_aead.h')
-rw-r--r--nist/TestVectorGen/crypto_aead.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/nist/TestVectorGen/crypto_aead.h b/nist/TestVectorGen/crypto_aead.h
new file mode 100644
index 0000000..e2ca9b0
--- /dev/null
+++ b/nist/TestVectorGen/crypto_aead.h
@@ -0,0 +1,18 @@
+
+int crypto_aead_encrypt(
+ unsigned char *c, unsigned long long *clen,
+ const unsigned char *m, unsigned long long mlen,
+ const unsigned char *ad, unsigned long long adlen,
+ const unsigned char *nsec,
+ const unsigned char *npub,
+ const unsigned char *k
+);
+
+int crypto_aead_decrypt(
+ unsigned char *m, unsigned long long *mlen,
+ unsigned char *nsec,
+ const unsigned char *c, unsigned long long clen,
+ const unsigned char *ad, unsigned long long adlen,
+ const unsigned char *npub,
+ const unsigned char *k
+); \ No newline at end of file