diff options
| author | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-11-29 15:21:39 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@airbus.com> | 2018-11-29 15:21:39 +0100 |
| commit | 4ee53ce2ac2e32aa9ae9c2334f0770d7f5f28fa8 (patch) | |
| tree | a8ff5ca7466b5e9f4c80d2addffca6119ff8da4a /nist/TestVectorGen/crypto_aead.h | |
| parent | ffd17baa2f156d90f854e72eee374f0bc5abc99e (diff) | |
| download | lilliput-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.h | 18 |
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 |
