nrfxlib API 0.1.0
|
void ocrypto_aes_ecb_encrypt | ( | uint8_t * | ct, |
const uint8_t * | pt, | ||
size_t | pt_len, | ||
const uint8_t * | key, | ||
size_t | size | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_aes_ecb.h>
AES-ECB encryption.
[out] | ct | Ciphertext. |
pt | Plaintext. | |
pt_len | Length of ct and pt . | |
key | AES key. | |
size | Key size (16, 24, or 32). |
ct
may be same as pt
.