Searched refs:cipher_ops (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/drivers/crypto/crypto_api/cipher/ |
| H A D | cipher.c | 15 static const struct crypto_cipher_ops cipher_ops; variable 24 assert(ctx && ctx->ops == &cipher_ops); in to_cipher_ctx() 162 static const struct crypto_cipher_ops cipher_ops = { variable 191 cipher->cipher_ctx.ops = &cipher_ops; in drvcrypt_cipher_alloc_ctx()
|
| /optee_os/core/crypto/ |
| H A D | crypto.c | 177 static const struct crypto_cipher_ops *cipher_ops(void *ctx) in cipher_ops() function 189 cipher_ops(ctx)->free_ctx(ctx); in crypto_cipher_free_ctx() 194 cipher_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_cipher_copy_state() 205 return cipher_ops(ctx)->init(ctx, mode, key1, key1_len, key2, key2_len, in crypto_cipher_init() 213 return cipher_ops(ctx)->update(ctx, last_block, data, len, dst); in crypto_cipher_update() 218 cipher_ops(ctx)->final(ctx); in crypto_cipher_final()
|