nrfxlib API 3.3.99
Loading...
Searching...
No Matches

AES Electronic Codebook. More...

Files

file  ocrypto_aes_ecb.h
 AES Electronic Codebook.
 

Functions

void ocrypto_aes_ecb_encrypt (uint8_t *ct, const uint8_t *pt, size_t pt_len, const uint8_t *key, size_t size)
 
void ocrypto_aes_ecb_decrypt (uint8_t *pt, const uint8_t *ct, size_t ct_len, const uint8_t *key, size_t size)
 

Incremental AES-ECB encryption/decryption

This group of functions can be used to incrementally compute the AES-ECB encryption/decryption for a given message.

void ocrypto_aes_ecb_init_enc (ocrypto_aes_ecb_ctx *ctx, const uint8_t *key, size_t size)
 
void ocrypto_aes_ecb_init_dec (ocrypto_aes_ecb_ctx *ctx, const uint8_t *key, size_t size)
 
void ocrypto_aes_ecb_update_enc (ocrypto_aes_ecb_ctx *ctx, uint8_t *ct, const uint8_t *pt, size_t pt_len)
 
void ocrypto_aes_ecb_update_dec (ocrypto_aes_ecb_ctx *ctx, uint8_t *pt, const uint8_t *ct, size_t ct_len)
 

Detailed Description

AES Electronic Codebook.

AES-ECB (AES Electronic Codebook) is a simple AES block cipher mode.

Remarks
AES-ECB is not recommended for use in cryptographic protocols.
See also
NIST - Special Publication 800-38A