Home
last modified time | relevance | path

Searched refs:cbc_ctx (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/crypto/
A Dcbc-mac.c23 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()
[all …]
A Daes-cts.c93 static TEE_Result cbc_cts_update(void *cbc_ctx, void *ecb_ctx, in cbc_cts_update() argument
105 return tee_do_cipher_update(cbc_ctx, TEE_ALG_AES_CBC_NOPAD, in cbc_cts_update()
124 res = tee_do_cipher_update(cbc_ctx, TEE_ALG_AES_CBC_NOPAD, in cbc_cts_update()
134 res = tee_do_cipher_update(cbc_ctx, TEE_ALG_AES_CBC_NOPAD, in cbc_cts_update()
159 res = tee_do_cipher_update(cbc_ctx, in cbc_cts_update()
168 res = tee_do_cipher_update(cbc_ctx, TEE_ALG_AES_CBC_NOPAD, in cbc_cts_update()
175 res = tee_do_cipher_update(cbc_ctx, TEE_ALG_AES_CBC_NOPAD, in cbc_cts_update()

Completed in 4 milliseconds