lilliput-ae-reference-implementation

Implementations of Lilliput-AE submitted to the NIST LWC standardization process
git clone https://git.kevinlegouguec.net/lilliput-ae-reference-implementation
Log | Files | Refs | README

crypto_aead.h (505B)


      1 
      2 int crypto_aead_encrypt(
      3 	unsigned char *c, unsigned long long *clen,
      4 	const unsigned char *m, unsigned long long mlen,
      5 	const unsigned char *ad, unsigned long long adlen,
      6 	const unsigned char *nsec,
      7 	const unsigned char *npub,
      8 	const unsigned char *k
      9 );
     10 
     11 int crypto_aead_decrypt(
     12 	unsigned char *m, unsigned long long *mlen,
     13 	unsigned char *nsec,
     14 	const unsigned char *c, unsigned long long clen,
     15 	const unsigned char *ad, unsigned long long adlen,
     16 	const unsigned char *npub,
     17 	const unsigned char *k
     18 );