Home
last modified time | relevance | path

Searched refs:aes_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/crypto/keembay/
Docs-aes.c204 static inline void aes_a_set_endianness(const struct ocs_aes_dev *aes_dev) in aes_a_set_endianness() argument
206 iowrite32(0x7FF, aes_dev->base_reg + AES_BYTE_ORDER_CFG_OFFSET); in aes_a_set_endianness()
210 static inline void aes_a_op_trigger(const struct ocs_aes_dev *aes_dev) in aes_a_op_trigger() argument
212 iowrite32(AES_ACTIVE_TRIGGER, aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_op_trigger()
216 static inline void aes_a_op_termination(const struct ocs_aes_dev *aes_dev) in aes_a_op_termination() argument
219 aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_op_termination()
231 static inline void aes_a_set_last_gcx(const struct ocs_aes_dev *aes_dev) in aes_a_set_last_gcx() argument
234 aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_set_last_gcx()
238 static inline void aes_a_wait_last_gcx(const struct ocs_aes_dev *aes_dev) in aes_a_wait_last_gcx() argument
243 aes_active_reg = ioread32(aes_dev->base_reg + in aes_a_wait_last_gcx()
[all …]
Dkeembay-ocs-aes-core.c51 struct ocs_aes_dev *aes_dev; member
124 struct ocs_aes_dev *aes_dev; in kmb_ocs_aes_find_dev() local
128 if (tctx->aes_dev) { in kmb_ocs_aes_find_dev()
129 aes_dev = tctx->aes_dev; in kmb_ocs_aes_find_dev()
134 aes_dev = list_first_entry(&ocs_aes.dev_list, struct ocs_aes_dev, list); in kmb_ocs_aes_find_dev()
135 tctx->aes_dev = aes_dev; in kmb_ocs_aes_find_dev()
140 return aes_dev; in kmb_ocs_aes_find_dev()
319 struct ocs_aes_dev *aes_dev; in kmb_ocs_sk_common() local
353 aes_dev = kmb_ocs_aes_find_dev(tctx); in kmb_ocs_sk_common()
354 if (!aes_dev) in kmb_ocs_sk_common()
[all …]
Docs-aes.h67 int ocs_aes_set_key(struct ocs_aes_dev *aes_dev, const u32 key_size,
70 int ocs_aes_op(struct ocs_aes_dev *aes_dev,
88 static inline int ocs_aes_bypass_op(struct ocs_aes_dev *aes_dev, in ocs_aes_bypass_op() argument
92 return ocs_aes_op(aes_dev, OCS_MODE_ECB, OCS_AES, OCS_BYPASS, in ocs_aes_bypass_op()
96 int ocs_aes_gcm_op(struct ocs_aes_dev *aes_dev,
108 int ocs_aes_ccm_op(struct ocs_aes_dev *aes_dev,
120 int ocs_create_linked_list_from_sg(const struct ocs_aes_dev *aes_dev,
/linux-6.1.9/drivers/crypto/
Datmel-sha.c2090 struct atmel_aes_dev *aes_dev; member
2108 authctx->cb(authctx->aes_dev, err, authctx->base.dd->is_async); in atmel_sha_authenc_complete()
2124 return authctx->cb(authctx->aes_dev, err, dd->is_async); in atmel_sha_authenc_start()
2222 struct atmel_aes_dev *aes_dev) in atmel_sha_authenc_schedule() argument
2236 return cb(aes_dev, -ENODEV, false); in atmel_sha_authenc_schedule()
2242 authctx->aes_dev = aes_dev; in atmel_sha_authenc_schedule()
2254 struct atmel_aes_dev *aes_dev) in atmel_sha_authenc_init() argument
2266 authctx->aes_dev = aes_dev; in atmel_sha_authenc_init()
2318 return authctx->cb(authctx->aes_dev, 0, dd->is_async); in atmel_sha_authenc_init_done()
2324 struct atmel_aes_dev *aes_dev) in atmel_sha_authenc_final() argument
[all …]