23 #ifndef LWCRYPTO_ISAP_K_AEAD_PK_H
24 #define LWCRYPTO_ISAP_K_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,
int isap_keccak_128_aead_pk_init(isap_keccak_128_key_t *pk, const unsigned char *k)
Initializes a pre-computed key for ISAP-K-128.
ISAP authenticated encryption algorithm.
Pre-computed key information for ISAP-K-128.
Definition: isap-k-aead-pk.h:61
int isap_keccak_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_keccak_128a_key_t *pk)
Decrypts and authenticates a packet with ISAP-K-128A and pre-computed keys.
int isap_keccak_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_keccak_128_key_t *pk)
Encrypts and authenticates a packet with ISAP-K-128 and pre-computed keys.
Pre-computed key information for ISAP-K-128A.
Definition: isap-k-aead-pk.h:51
int isap_keccak_128a_aead_pk_init(isap_keccak_128a_key_t *pk, const unsigned char *k)
Initializes a pre-computed key for ISAP-K-128A.
int isap_keccak_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_keccak_128a_key_t *pk)
Encrypts and authenticates a packet with ISAP-K-128A and pre-computed keys.
int isap_keccak_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_keccak_128_key_t *pk)
Decrypts and authenticates a packet with ISAP-K-128 and pre-computed keys.