23 #ifndef LWCRYPTO_ISAP_A_AEAD_H
24 #define LWCRYPTO_ISAP_A_AEAD_H
50 #define ISAP_A_KEY_SIZE 16
55 #define ISAP_A_TAG_SIZE 16
60 #define ISAP_A_NONCE_SIZE 16
83 (
unsigned char *c,
size_t *clen,
84 const unsigned char *m,
size_t mlen,
85 const unsigned char *ad,
size_t adlen,
86 const unsigned char *npub,
87 const unsigned char *k);
111 (
unsigned char *m,
size_t *mlen,
112 const unsigned char *c,
size_t clen,
113 const unsigned char *ad,
size_t adlen,
114 const unsigned char *npub,
115 const unsigned char *k);
138 (
unsigned char *c,
size_t *clen,
139 const unsigned char *m,
size_t mlen,
140 const unsigned char *ad,
size_t adlen,
141 const unsigned char *npub,
142 const unsigned char *k);
166 (
unsigned char *m,
size_t *mlen,
167 const unsigned char *c,
size_t clen,
168 const unsigned char *ad,
size_t adlen,
169 const unsigned char *npub,
170 const unsigned char *k);
int isap_ascon_128_aead_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 unsigned char *k)
Decrypts and authenticates a packet with ISAP-A-128.
int isap_ascon_128a_aead_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 unsigned char *k)
Encrypts and authenticates a packet with ISAP-A-128A.
int isap_ascon_128a_aead_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 unsigned char *k)
Decrypts and authenticates a packet with ISAP-A-128A.
int isap_ascon_128_aead_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 unsigned char *k)
Encrypts and authenticates a packet with ISAP-A-128.