nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_aes_ecb_encrypt()

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.

Parameters
[out]ctCiphertext.
ptPlaintext.
pt_lenLength of ct and pt.
keyAES key.
sizeKey size (16, 24, or 32).
Remarks
ct may be same as pt.