|
openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
|
— On-target AES-ECB block (PSA/CC312) backing the CCC key schedule. More...
#include <errno.h>#include <stddef.h>#include <stdint.h>#include <psa/crypto.h>#include "ccc_kdf.h"Functions | |
| int | crypto_aes_ecb_encrypt (const uint8_t *key, size_t key_bits, const uint8_t in[16], uint8_t out[16]) |
| Encrypt one AES-ECB block using PSA Crypto, supporting 128-bit and 256-bit keys. | |
— On-target AES-ECB block (PSA/CC312) backing the CCC key schedule.
| int crypto_aes_ecb_encrypt | ( | const uint8_t * | key, |
| size_t | key_bits, | ||
| const uint8_t | in[16], | ||
| uint8_t | out[16] | ||
| ) |
Encrypt one AES-ECB block using PSA Crypto, supporting 128-bit and 256-bit keys.
AES block-cipher seam: one 128-bit ECB block encrypt (out may alias in).