int wc_AsconAEAD128_DecryptUpdate(wc_AsconAEAD128 *a, byte *out, const byte *in, word32 inSz)
This function updates the decryption process using Ascon AEAD. The output is stored in the out buffer...
int wc_AsconHash256_Init(wc_AsconHash256 *a)
This function initializes the ASCON context for hashing.
int wc_AsconHash256_Update(wc_AsconHash256 *a, const byte *data, word32 dataSz)
This function updates the ASCON hash with the input data.
void wc_AsconAEAD128_Clear(wc_AsconAEAD128 *a)
This function deinitializes an Ascon AEAD context. It does not free the context.
int wc_AsconAEAD128_Init(wc_AsconAEAD128 *a)
This function initializes an Ascon AEAD context.
int wc_AsconAEAD128_SetNonce(wc_AsconAEAD128 *a, const byte *nonce)
This function sets the nonce for the Ascon AEAD context.
wc_AsconAEAD128 * wc_AsconAEAD128_New(void)
This function allocates and initializes a new Ascon AEAD context.
int wc_AsconAEAD128_EncryptFinal(wc_AsconAEAD128 *a, byte *tag)
This function finalizes the encryption process using Ascon AEAD and produces the authentication tag.
void wc_AsconAEAD128_Free(wc_AsconAEAD128 *a)
This function frees the resources associated with the Ascon AEAD context.
int wc_AsconAEAD128_SetAD(wc_AsconAEAD128 *a, const byte *ad, word32 adSz)
This function sets the associated data for the Ascon AEAD context.
int wc_AsconHash256_Final(wc_AsconHash256 *a, byte *hash)
This function finalizes the ASCON hash and produces the output.
int wc_AsconAEAD128_DecryptFinal(wc_AsconAEAD128 *a, const byte *tag)
This function finalizes the decryption process using Ascon AEAD and verifies the authentication tag.
int wc_AsconAEAD128_EncryptUpdate(wc_AsconAEAD128 *a, byte *out, const byte *in, word32 inSz)
This function encrypts a plaintext message using Ascon AEAD. The output is stored in the out buffer....
int wc_AsconAEAD128_SetKey(wc_AsconAEAD128 *a, const byte *key)
This function sets the key for the Ascon AEAD context.