57WARN_UNUSED_RESULT cx_err_t cx_aes_init_key_no_throw(
const uint8_t *rawkey,
65DEPRECATED
static inline size_t cx_aes_init_key(
const unsigned char *rawkey,
69 CX_THROW(cx_aes_init_key_no_throw(rawkey, key_len, key));
117WARN_UNUSED_RESULT cx_err_t cx_aes_iv_no_throw(
const cx_aes_key_t *key,
130DEPRECATED
static inline size_t cx_aes_iv(
const cx_aes_key_t *key,
134 const unsigned char *in,
137 unsigned int out_len)
139 size_t out_len_ = out_len;
140 CX_THROW(cx_aes_iv_no_throw(key, mode, iv, iv_len, in, in_len, out, &out_len_));
184WARN_UNUSED_RESULT cx_err_t cx_aes_no_throw(
const cx_aes_key_t *key,
195DEPRECATED
static inline size_t cx_aes(
const cx_aes_key_t *key,
197 const unsigned char *in,
200 unsigned int out_len)
202 size_t out_len_ = out_len;
203 CX_THROW(cx_aes_no_throw(key, mode, in, in_len, out, &out_len_));
221WARN_UNUSED_RESULT cx_err_t cx_aes_enc_block(
const cx_aes_key_t *key,
239WARN_UNUSED_RESULT cx_err_t cx_aes_dec_block(
const cx_aes_key_t *key,