Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Infuse wrapper for ASCON encryption library. More...
Go to the source code of this file.
Functions | |
int | ascon128_aead_encrypt (unsigned char *c, unsigned long long *clen, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned long long adlen, unsigned char *tag, const unsigned char *npub, const unsigned char *k) |
Encrypt plaintext with ascon-128. | |
int | ascon128_aead_decrypt (unsigned char *m, unsigned long long *mlen, const unsigned char *tag, const unsigned char *c, unsigned long long clen, const unsigned char *ad, unsigned long long adlen, const unsigned char *npub, const unsigned char *k) |
Decrypt ciphertext with ascon-128. | |
int | ascon128a_aead_encrypt (unsigned char *c, unsigned long long *clen, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned long long adlen, unsigned char *tag, const unsigned char *npub, const unsigned char *k) |
Encrypt plaintext with ascon-128a. | |
int | ascon128a_aead_decrypt (unsigned char *m, unsigned long long *mlen, const unsigned char *tag, const unsigned char *c, unsigned long long clen, const unsigned char *ad, unsigned long long adlen, const unsigned char *npub, const unsigned char *k) |
Decrypt ciphertext with ascon-128a. | |
int | ascon80pq_aead_encrypt (unsigned char *c, unsigned long long *clen, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned long long adlen, unsigned char *tag, const unsigned char *npub, const unsigned char *k) |
Encrypt plaintext with ascon-80pq. | |
int | ascon80pq_aead_decrypt (unsigned char *m, unsigned long long *mlen, const unsigned char *tag, const unsigned char *c, unsigned long long clen, const unsigned char *ad, unsigned long long adlen, const unsigned char *npub, const unsigned char *k) |
Decrypt ciphertext with ascon-80pq. | |
Infuse wrapper for ASCON encryption library.
SPDX-License-Identifier: FSL-1.1-ALv2
Ascon is a family of lightweight cryptographic algorithms and consists of:
For more details see https://ascon.iaik.tugraz.at/