23 #ifndef LWCRYPTO_ISAP_A_AEAD_PK_H
24 #define LWCRYPTO_ISAP_A_AEAD_PK_H
104 (
unsigned char *c,
size_t *clen,
105 const unsigned char *m,
size_t mlen,
106 const unsigned char *ad,
size_t adlen,
107 const unsigned char *npub,
133 (
unsigned char *m,
size_t *mlen,
134 const unsigned char *c,
size_t clen,
135 const unsigned char *ad,
size_t adlen,
136 const unsigned char *npub,
175 (
unsigned char *c,
size_t *clen,
176 const unsigned char *m,
size_t mlen,
177 const unsigned char *ad,
size_t adlen,
178 const unsigned char *npub,
204 (
unsigned char *m,
size_t *mlen,
205 const unsigned char *c,
size_t clen,
206 const unsigned char *ad,
size_t adlen,
207 const unsigned char *npub,
Pre-computed key information for ISAP-A-128.
Definition: isap-a-aead-pk.h:61
ISAP-A authenticated encryption algorithm.
int isap_ascon_128a_aead_pk_init(isap_ascon_128a_key_t *pk, const unsigned char *k)
Initializes a pre-computed key for ISAP-A-128A.
int isap_ascon_128_aead_pk_init(isap_ascon_128_key_t *pk, const unsigned char *k)
Initializes a pre-computed key for ISAP-A-128.
int isap_ascon_128a_aead_pk_encrypt(unsigned char *c, size_t *clen, const unsigned char *m, size_t mlen, const unsigned char *ad, size_t adlen, const unsigned char *npub, const isap_ascon_128a_key_t *pk)
Encrypts and authenticates a packet with ISAP-A-128A and pre-computed keys.
Pre-computed key information for ISAP-A-128A.
Definition: isap-a-aead-pk.h:51
int isap_ascon_128_aead_pk_encrypt(unsigned char *c, size_t *clen, const unsigned char *m, size_t mlen, const unsigned char *ad, size_t adlen, const unsigned char *npub, const isap_ascon_128_key_t *pk)
Encrypts and authenticates a packet with ISAP-A-128 and pre-computed keys.
int isap_ascon_128_aead_pk_decrypt(unsigned char *m, size_t *mlen, const unsigned char *c, size_t clen, const unsigned char *ad, size_t adlen, const unsigned char *npub, const isap_ascon_128_key_t *pk)
Decrypts and authenticates a packet with ISAP-A-128 and pre-computed keys.
int isap_ascon_128a_aead_pk_decrypt(unsigned char *m, size_t *mlen, const unsigned char *c, size_t clen, const unsigned char *ad, size_t adlen, const unsigned char *npub, const isap_ascon_128a_key_t *pk)
Decrypts and authenticates a packet with ISAP-A-128A and pre-computed keys.