#include "core.h"intcrypto_aead_encrypt(unsignedchar*c,unsignedlonglong*clen,constunsignedchar*m,unsignedlonglongmlen,constunsignedchar*ad,unsignedlonglongadlen,constunsignedchar*nsec,constunsignedchar*npub,constunsignedchar*k){states;u64tmp0,tmp1;(void)nsec;// set ciphertext size*clen=mlen+CRYPTO_ABYTES;ascon_core(&s,c,m,mlen,ad,adlen,npub,k,ASCON_ENC);// set tagtmp0=from_big(s.x3);*(u64*)(c+mlen)=(tmp0);tmp1=from_big(s.x4);*(u64*)(c+mlen+8)=(tmp1);return0;}