Lines Matching refs:cbc_ctx
23 void *cbc_ctx; member
53 return crypto_cipher_init(mc->cbc_ctx, TEE_MODE_ENCRYPT, key, len, in crypto_cbc_mac_init()
74 res = crypto_cipher_update(mc->cbc_ctx, TEE_MODE_ENCRYPT, in crypto_cbc_mac_update()
101 res = crypto_cipher_update(mc->cbc_ctx, TEE_MODE_ENCRYPT, in crypto_cbc_mac_update()
150 crypto_cipher_final(mc->cbc_ctx); in crypto_cbc_mac_final()
159 crypto_cipher_free_ctx(mc->cbc_ctx); in crypto_cbc_mac_free_ctx()
173 crypto_cipher_copy_state(dst->cbc_ctx, src->cbc_ctx); in crypto_cbc_mac_copy_state()
192 void *cbc_ctx = NULL; in crypto_cbc_mac_alloc_ctx() local
200 res = crypto_cipher_alloc_ctx(&cbc_ctx, cbc_algo); in crypto_cbc_mac_alloc_ctx()
206 crypto_cipher_free_ctx(cbc_ctx); in crypto_cbc_mac_alloc_ctx()
210 ctx->cbc_ctx = cbc_ctx; in crypto_cbc_mac_alloc_ctx()