Lines Matching +full:inline +full:- +full:crypto +full:- +full:engine
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * sun8i-ce.h - hardware cryptographic offloader for
6 * Copyright (C) 2016-2019 Corentin LABBE <clabbe.montjoie@gmail.com>
8 #include <crypto/aes.h>
9 #include <crypto/des.h>
10 #include <crypto/engine.h>
11 #include <crypto/skcipher.h>
14 #include <linux/crypto.h>
16 #include <crypto/internal/hash.h>
17 #include <crypto/md5.h>
18 #include <crypto/rng.h>
19 #include <crypto/sha1.h>
20 #include <crypto/sha2.h>
113 * struct ce_clock - Describe clocks used by sun8i-ce
125 * struct ce_variant - Describe CE capability for each variant hardware
165 * struct ce_task - CE Task descriptor
184 * struct sun8i_ce_flow - Information used by each flow
185 * @engine: ptr to the crypto_engine for this flow
195 struct crypto_engine *engine; member
209 * struct sun8i_ce_dev - main container for all this driver information
245 static inline u32 desc_addr_val(struct sun8i_ce_dev *dev, dma_addr_t addr) in desc_addr_val()
247 if (dev->variant->needs_word_addresses) in desc_addr_val()
253 static inline __le32 desc_addr_val_le32(struct sun8i_ce_dev *dev, in desc_addr_val_le32()
260 * struct sun8i_cipher_req_ctx - context for a skcipher request
282 * struct sun8i_cipher_tfm_ctx - context for a skcipher TFM
296 * struct sun8i_ce_hash_tfm_ctx - context for an ahash TFM
306 * struct sun8i_ce_hash_reqctx - context for an ahash request
307 * @fallback_req: pre-allocated fallback request
316 * struct sun8i_ce_prng_ctx - context for PRNG TFM
326 * struct sun8i_ce_alg_template - crypto_alg template
367 int sun8i_ce_cipher_do_one(struct crypto_engine *engine, void *areq);
384 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);