28#ifndef OCRYPTO_AES_CTR_H
29#define OCRYPTO_AES_CTR_H
105 uint8_t* ct,
const uint8_t* pt,
size_t pt_len,
const uint8_t *key,
size_t size,
const uint8_t iv[16]);
120 uint8_t* pt,
const uint8_t* ct,
size_t ct_len,
const uint8_t *key,
size_t size,
const uint8_t iv[16]);
void ocrypto_aes_ctr_decrypt(uint8_t *pt, const uint8_t *ct, size_t ct_len, const uint8_t *key, size_t size, const uint8_t iv[16])
void ocrypto_aes_ctr_init(ocrypto_aes_ctr_ctx *ctx, const uint8_t *key, size_t size, const uint8_t iv[16])
void ocrypto_aes_ctr_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_ctr_update(ocrypto_aes_ctr_ctx *ctx, uint8_t *ct, const uint8_t *pt, size_t pt_len)