nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_aes_cbc.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

void ocrypto_aes_cbc_encrypt (uint8_t *ct, const uint8_t *pt, size_t pt_len, const uint8_t *key, size_t size, const uint8_t iv[16])
 
void ocrypto_aes_cbc_decrypt (uint8_t *pt, const uint8_t *ct, size_t ct_len, const uint8_t *key, size_t size, const uint8_t iv[16])
 
Incremental AES-CBC encryption/decryption.

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

void ocrypto_aes_cbc_init_enc (ocrypto_aes_cbc_ctx *ctx, const uint8_t *key, size_t size, const uint8_t iv[16])
 
void ocrypto_aes_cbc_init_dec (ocrypto_aes_cbc_ctx *ctx, const uint8_t *key, size_t size, const uint8_t iv[16])
 
void ocrypto_aes_cbc_update_enc (ocrypto_aes_cbc_ctx *ctx, uint8_t *ct, const uint8_t *pt, size_t pt_len)
 
void ocrypto_aes_cbc_update_dec (ocrypto_aes_cbc_ctx *ctx, uint8_t *pt, const uint8_t *ct, size_t ct_len)