Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c16 static const struct crypto_cipher_ops cipher_ops; variable
25 assert(ctx && ctx->ops == &cipher_ops); in to_cipher_ctx()
163 static const struct crypto_cipher_ops cipher_ops = { variable
192 cipher->cipher_ctx.ops = &cipher_ops; in drvcrypt_cipher_alloc_ctx()
/optee_os-3.20.0/core/crypto/
A Dcrypto.c160 static const struct crypto_cipher_ops *cipher_ops(void *ctx) in cipher_ops() function
172 cipher_ops(ctx)->free_ctx(ctx); in crypto_cipher_free_ctx()
177 cipher_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_cipher_copy_state()
188 return cipher_ops(ctx)->init(ctx, mode, key1, key1_len, key2, key2_len, in crypto_cipher_init()
196 return cipher_ops(ctx)->update(ctx, last_block, data, len, dst); in crypto_cipher_update()
201 cipher_ops(ctx)->final(ctx); in crypto_cipher_final()

Completed in 5 milliseconds