Lines Matching +full:crypto +full:- +full:engine
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * amlogic.h - hardware cryptographic offloader for Amlogic SoC
5 * Copyright (C) 2018-2019 Corentin LABBE <[email protected]>
7 #include <crypto/aes.h>
8 #include <crypto/engine.h>
9 #include <crypto/skcipher.h>
11 #include <linux/crypto.h>
34 * struct meson_desc - Descriptor for DMA operations
40 * @len: 0-16 length of data to operate
44 * @mode: 20-23 Type of algorithm (AES, SHA)
47 * @op_mode: 26-27 Blockmode (CBC, ECB)
60 * struct meson_flow - Information used by each flow
61 * @engine: ptr to the crypto_engine for this flow
70 struct crypto_engine *engine; member
82 * struct meson_dev - main container for all this driver information
83 * @base: base address of amlogic-crypto
84 * @busclk: bus clock for amlogic-crypto
88 * @irqs: IRQ numbers for amlogic-crypto
105 * struct meson_cipher_req_ctx - context for a skcipher request
116 * struct meson_cipher_tfm_ctx - context for a skcipher TFM
132 * struct meson_alg_template - crypto_alg template
159 int meson_handle_cipher_request(struct crypto_engine *engine, void *areq);