Home
last modified time | relevance | path

Searched refs:tctx (Results 1 – 25 of 50) sorted by relevance

12

/openbmc/linux/io_uring/
H A Dtctx.c49 struct io_uring_task *tctx = tsk->io_uring; in __io_uring_free() local
59 xa_for_each(&tctx->xa, index, node) { in __io_uring_free()
63 WARN_ON_ONCE(tctx->io_wq); in __io_uring_free()
64 WARN_ON_ONCE(tctx->cached_refs); in __io_uring_free()
66 percpu_counter_destroy(&tctx->inflight); in __io_uring_free()
67 kfree(tctx); in __io_uring_free()
74 struct io_uring_task *tctx; in io_uring_alloc_task_context() local
77 tctx = kzalloc(sizeof(*tctx), GFP_KERNEL); in io_uring_alloc_task_context()
78 if (unlikely(!tctx)) in io_uring_alloc_task_context()
81 ret = percpu_counter_init(&tctx->inflight, 0, GFP_KERNEL); in io_uring_alloc_task_context()
[all …]
H A Dcancel.c75 static int io_async_cancel_one(struct io_uring_task *tctx, in io_async_cancel_one() argument
82 if (!tctx || !tctx->io_wq) in io_async_cancel_one()
86 cancel_ret = io_wq_cancel_cb(tctx->io_wq, io_cancel_cb, cd, all); in io_async_cancel_one()
102 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, in io_try_cancel() argument
108 WARN_ON_ONCE(!io_wq_current_is_worker() && tctx != current->io_uring); in io_try_cancel()
110 ret = io_async_cancel_one(tctx, cd); in io_try_cancel()
157 struct io_uring_task *tctx, in __io_async_cancel() argument
166 ret = io_try_cancel(tctx, cd, issue_flags); in __io_async_cancel()
178 struct io_uring_task *tctx = node->task->io_uring; in __io_async_cancel() local
180 ret = io_async_cancel_one(tctx, cd); in __io_async_cancel()
[all …]
H A Dtctx.h14 void io_uring_clean_tctx(struct io_uring_task *tctx);
27 struct io_uring_task *tctx = current->io_uring; in io_uring_add_tctx_node() local
29 if (likely(tctx && tctx->last == ctx)) in io_uring_add_tctx_node()
H A Dio_uring.c391 struct io_uring_task *tctx = req->task->io_uring; in io_clean_op() local
393 atomic_dec(&tctx->inflight_tracked); in io_clean_op()
498 struct io_uring_task *tctx = req->task->io_uring; in io_queue_iowq() local
500 BUG_ON(!tctx); in io_queue_iowq()
502 if ((current->flags & PF_KTHREAD) || !tctx->io_wq) { in io_queue_iowq()
521 io_wq_enqueue(tctx->io_wq, &req->work); in io_queue_iowq()
757 struct io_uring_task *tctx = task->io_uring; in io_put_task_remote() local
759 percpu_counter_sub(&tctx->inflight, 1); in io_put_task_remote()
760 if (unlikely(atomic_read(&tctx->in_cancel))) in io_put_task_remote()
761 wake_up(&tctx->wait); in io_put_task_remote()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A Dsamba-4.3.9-remove-getpwent_r.patch21 @@ -247,7 +247,6 @@ static bool test_getgrnam_r(struct torture_context *tctx,
26 static bool test_getgrgid(struct torture_context *tctx,
29 @@ -333,6 +332,7 @@ static bool test_enum_passwd(struct torture_context *tctx,
34 static bool test_enum_r_passwd(struct torture_context *tctx,
37 @@ -383,6 +383,7 @@ static bool test_enum_r_passwd(struct torture_context *tctx,
43 static bool torture_assert_passwd_equal(struct torture_context *tctx,
45 @@ -434,7 +435,7 @@ static bool test_passwd_r(struct torture_context *tctx)
49 - torture_assert(tctx, test_enum_r_passwd(tctx, &pwd, &num_pwd),
50 + torture_assert(tctx, test_enum_passwd(tctx, &pwd, &num_pwd),
54 @@ -462,7 +463,7 @@ static bool test_passwd_r_cross(struct torture_context *tctx)
[all …]
/openbmc/linux/drivers/crypto/
H A Dgeode-aes.c70 geode_aes_crypt(const struct geode_aes_tfm_ctx *tctx, const void *src, in geode_aes_crypt() argument
97 _writefield(AES_WRITEKEY0_REG, tctx->key); in geode_aes_crypt()
113 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_setkey_cip() local
115 tctx->keylen = len; in geode_setkey_cip()
118 memcpy(tctx->key, key, len); in geode_setkey_cip()
129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip()
130 tctx->fallback.cip->base.crt_flags |= in geode_setkey_cip()
133 return crypto_cipher_setkey(tctx->fallback.cip, key, len); in geode_setkey_cip()
139 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_setkey_skcipher() local
141 tctx->keylen = len; in geode_setkey_skcipher()
[all …]
/openbmc/linux/crypto/
H A Dhctr2.c83 static inline u8 *hctr2_hashed_tweaklen(const struct hctr2_tfm_ctx *tctx, in hctr2_hashed_tweaklen() argument
86 u8 *p = (u8 *)tctx + sizeof(*tctx); in hctr2_hashed_tweaklen()
89 p += crypto_shash_statesize(tctx->polyval); in hctr2_hashed_tweaklen()
93 static inline u8 *hctr2_hashed_tweak(const struct hctr2_tfm_ctx *tctx, in hctr2_hashed_tweak() argument
96 return (u8 *)rctx + tctx->hashed_tweak_offset; in hctr2_hashed_tweak()
109 static int hctr2_hash_tweaklen(struct hctr2_tfm_ctx *tctx, bool has_remainder) in hctr2_hash_tweaklen() argument
115 shash->tfm = tctx->polyval; in hctr2_hash_tweaklen()
126 return crypto_shash_export(shash, hctr2_hashed_tweaklen(tctx, has_remainder)); in hctr2_hash_tweaklen()
132 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_setkey() local
136 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
[all …]
H A Dessiv.c69 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_setkey() local
73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey()
77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey()
81 err = crypto_shash_tfm_digest(tctx->hash, key, keylen, salt); in essiv_skcipher_setkey()
85 crypto_cipher_clear_flags(tctx->essiv_cipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()
86 crypto_cipher_set_flags(tctx->essiv_cipher, in essiv_skcipher_setkey()
89 return crypto_cipher_setkey(tctx->essiv_cipher, salt, in essiv_skcipher_setkey()
90 crypto_shash_digestsize(tctx->hash)); in essiv_skcipher_setkey()
96 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setkey() local
[all …]
H A Dadiantum.c120 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_setkey() local
132 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
133 crypto_skcipher_set_flags(tctx->streamcipher, in adiantum_setkey()
136 err = crypto_skcipher_setkey(tctx->streamcipher, key, keylen); in adiantum_setkey()
142 crypto_skcipher_reqsize(tctx->streamcipher), GFP_KERNEL); in adiantum_setkey()
148 skcipher_request_set_tfm(&data->req, tctx->streamcipher); in adiantum_setkey()
160 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
161 crypto_cipher_set_flags(tctx->blockcipher, in adiantum_setkey()
164 err = crypto_cipher_setkey(tctx->blockcipher, keyp, in adiantum_setkey()
171 poly1305_core_setkey(&tctx->header_hash_key, keyp); in adiantum_setkey()
[all …]
H A Dvmac.c399 static void vhash_blocks(const struct vmac_tfm_ctx *tctx, in vhash_blocks() argument
403 const u64 *kptr = tctx->nhkey; in vhash_blocks()
404 const u64 pkh = tctx->polykey[0]; in vhash_blocks()
405 const u64 pkl = tctx->polykey[1]; in vhash_blocks()
433 struct vmac_tfm_ctx *tctx = crypto_shash_ctx(tfm); in vmac_setkey() local
442 err = crypto_cipher_setkey(tctx->cipher, key, keylen); in vmac_setkey()
448 for (i = 0; i < ARRAY_SIZE(tctx->nhkey); i += 2) { in vmac_setkey()
449 crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in vmac_setkey()
450 tctx->nhkey[i] = be64_to_cpu(out[0]); in vmac_setkey()
451 tctx->nhkey[i+1] = be64_to_cpu(out[1]); in vmac_setkey()
[all …]
H A Dxxhash_generic.c23 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(tfm); in xxhash64_setkey() local
25 if (keylen != sizeof(tctx->seed)) in xxhash64_setkey()
27 tctx->seed = get_unaligned_le64(key); in xxhash64_setkey()
33 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_init() local
36 xxh64_reset(&dctx->xxhstate, tctx->seed); in xxhash64_init()
63 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_digest() local
65 put_unaligned_le64(xxh64(data, length, tctx->seed), out); in xxhash64_digest()
/openbmc/qemu/hw/intc/
H A Dxive.c52 static qemu_irq xive_tctx_output(XiveTCTX *tctx, uint8_t ring) in xive_tctx_output() argument
58 return tctx->os_output; in xive_tctx_output()
61 return tctx->hv_output; in xive_tctx_output()
67 static uint64_t xive_tctx_accept(XiveTCTX *tctx, uint8_t ring) in xive_tctx_accept() argument
69 uint8_t *regs = &tctx->regs[ring]; in xive_tctx_accept()
73 qemu_irq_lower(xive_tctx_output(tctx, ring)); in xive_tctx_accept()
86 alt_regs = &tctx->regs[alt_ring]; in xive_tctx_accept()
96 trace_xive_tctx_accept(tctx->cs->cpu_index, alt_ring, in xive_tctx_accept()
104 static void xive_tctx_notify(XiveTCTX *tctx, uint8_t ring) in xive_tctx_notify() argument
108 uint8_t *alt_regs = &tctx->regs[alt_ring]; in xive_tctx_notify()
[all …]
H A Dxive2.c273 static void xive2_tctx_save_ctx(Xive2Router *xrtr, XiveTCTX *tctx, in xive2_tctx_save_ctx() argument
277 CPUPPCState *env = &POWERPC_CPU(tctx->cs)->env; in xive2_tctx_save_ctx()
280 uint8_t *regs = &tctx->regs[ring]; in xive2_tctx_save_ctx()
341 static uint32_t xive2_tctx_hw_cam_line(XivePresenter *xptr, XiveTCTX *tctx) in xive2_tctx_hw_cam_line() argument
344 CPUPPCState *env = &POWERPC_CPU(tctx->cs)->env; in xive2_tctx_hw_cam_line()
354 static uint64_t xive2_tm_pull_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive2_tm_pull_ctx() argument
358 uint32_t target_ringw2 = xive_tctx_word2(&tctx->regs[ring]); in xive2_tm_pull_ctx()
376 uint32_t ringw2 = xive_tctx_word2(&tctx->regs[cur_ring]); in xive2_tm_pull_ctx()
378 memcpy(&tctx->regs[cur_ring + TM_WORD2], &ringw2_new, 4); in xive2_tm_pull_ctx()
382 xive2_tctx_save_ctx(xrtr, tctx, nvp_blk, nvp_idx, ring); in xive2_tm_pull_ctx()
[all …]
H A Dspapr_xive_kvm.c77 int kvmppc_xive_cpu_set_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_set_state() argument
79 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_set_state()
86 state[0] = *((uint64_t *) &tctx->regs[TM_QW1_OS]); in kvmppc_xive_cpu_set_state()
88 ret = kvm_set_one_reg(tctx->cs, KVM_REG_PPC_VP_STATE, state); in kvmppc_xive_cpu_set_state()
92 kvm_arch_vcpu_id(tctx->cs)); in kvmppc_xive_cpu_set_state()
99 int kvmppc_xive_cpu_get_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_get_state() argument
101 SpaprXive *xive = SPAPR_XIVE(tctx->xptr); in kvmppc_xive_cpu_get_state()
107 ret = kvm_get_one_reg(tctx->cs, KVM_REG_PPC_VP_STATE, state); in kvmppc_xive_cpu_get_state()
111 kvm_arch_vcpu_id(tctx->cs)); in kvmppc_xive_cpu_get_state()
116 *((uint64_t *) &tctx->regs[TM_QW1_OS]) = state[0]; in kvmppc_xive_cpu_get_state()
[all …]
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c119 static struct ocs_aes_dev *kmb_ocs_aes_find_dev(struct ocs_aes_tctx *tctx) in kmb_ocs_aes_find_dev() argument
125 if (tctx->aes_dev) { in kmb_ocs_aes_find_dev()
126 aes_dev = tctx->aes_dev; in kmb_ocs_aes_find_dev()
132 tctx->aes_dev = aes_dev; in kmb_ocs_aes_find_dev()
165 static int save_key(struct ocs_aes_tctx *tctx, const u8 *in_key, size_t key_len, in save_key() argument
174 memcpy(tctx->key, in_key, key_len); in save_key()
175 tctx->key_len = key_len; in save_key()
176 tctx->cipher = cipher; in save_key()
185 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_set_key() local
188 tctx->use_fallback = (cipher == OCS_AES && in kmb_ocs_sk_set_key()
[all …]
H A Dkeembay-ocs-ecc.c203 static struct ocs_ecc_dev *kmb_ocs_ecc_find_dev(struct ocs_ecc_ctx *tctx) in kmb_ocs_ecc_find_dev() argument
205 if (tctx->ecc_dev) in kmb_ocs_ecc_find_dev()
206 return tctx->ecc_dev; in kmb_ocs_ecc_find_dev()
211 tctx->ecc_dev = list_first_entry(&ocs_ecc.dev_list, struct ocs_ecc_dev, in kmb_ocs_ecc_find_dev()
216 return tctx->ecc_dev; in kmb_ocs_ecc_find_dev()
538 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_set_secret() local
547 if (params.key_size > digits_to_bytes(tctx->curve->g.ndigits)) { in kmb_ocs_ecdh_set_secret()
554 rc = kmb_ecc_gen_privkey(tctx->curve, tctx->private_key); in kmb_ocs_ecdh_set_secret()
558 rc = kmb_ecc_is_key_valid(tctx->curve, (const u64 *)params.key, in kmb_ocs_ecdh_set_secret()
563 ecc_swap_digits((const u64 *)params.key, tctx->private_key, in kmb_ocs_ecdh_set_secret()
[all …]
/openbmc/hiomapd/test/
H A Dwindows_equally_evictable.c36 static int mbox_create_read_window(struct test_context *tctx, size_t offset, in mbox_create_read_window() argument
43 regs.msg.seq = ++tctx->seq; in mbox_create_read_window()
47 return mbox_command_dispatch(tctx->ctx, regs.raw, sizeof(regs.raw)); in mbox_create_read_window()
52 struct test_context _tctx = {0}, *tctx = &_tctx; in main() local
60 tctx->ctx = mbox_create_test_context(N_WINDOWS, WINDOW_SIZE); in main()
62 rc = mbox_command_dispatch(tctx->ctx, get_info, sizeof(get_info)); in main()
70 rc = mbox_create_read_window(tctx, pos, (WINDOW_SIZE / BLOCK_SIZE)); in main()
73 mbox_rspcpy(tctx->ctx, msg); in main()
79 windows_reset_all(tctx->ctx); in main()
81 rc = mbox_create_read_window(tctx, pos, (WINDOW_SIZE / BLOCK_SIZE)); in main()
/openbmc/phosphor-mboxd/vpnor/test/
H A Ddump_flash.cpp44 static int mbox_create_read_window(struct test_context *tctx, size_t offset, in mbox_create_read_window() argument
51 regs.msg.seq = ++tctx->seq; in mbox_create_read_window()
55 return mbox_command_dispatch(tctx->ctx, regs.raw, sizeof(regs.raw)); in mbox_create_read_window()
62 struct test_context _tctx = {0}, *tctx = &_tctx; in main() local
70 tctx->ctx = mbox_create_test_context(N_WINDOWS, WINDOW_SIZE); in main()
71 test::VpnorRoot root(tctx->ctx, toc, BLOCK_SIZE); in main()
72 init_vpnor_from_paths(tctx->ctx); in main()
74 rc = mbox_command_dispatch(tctx->ctx, get_info, sizeof(get_info)); in main()
82 rc = mbox_create_read_window(tctx, pos, (WINDOW_SIZE / BLOCK_SIZE)); in main()
85 mbox_rspcpy(tctx->ctx, msg); in main()
/openbmc/hiomapd/vpnor/test/
H A Ddump_flash.cpp45 static int mbox_create_read_window(struct test_context* tctx, size_t offset, in mbox_create_read_window() argument
52 regs.msg.seq = ++tctx->seq; in mbox_create_read_window()
56 return mbox_command_dispatch(tctx->ctx, regs.raw, sizeof(regs.raw)); in mbox_create_read_window()
63 test_context _tctx{}, *tctx = &_tctx; in main() local
71 tctx->ctx = mbox_create_frontend_context(N_WINDOWS, WINDOW_SIZE); in main()
72 test::VpnorRoot root(&tctx->ctx->backend, toc, BLOCK_SIZE); in main()
74 rc = mbox_command_dispatch(tctx->ctx, get_info, sizeof(get_info)); in main()
82 rc = mbox_create_read_window(tctx, pos, (WINDOW_SIZE / BLOCK_SIZE)); in main()
85 mbox_rspcpy(tctx->ctx, msg); in main()
/openbmc/linux/arch/arm64/crypto/
H A Dpolyval-ce-glue.c75 struct polyval_tfm_ctx *tctx = crypto_shash_ctx(tfm); in polyval_arm64_setkey() local
81 memcpy(tctx->key_powers[NUM_KEY_POWERS-1], key, POLYVAL_BLOCK_SIZE); in polyval_arm64_setkey()
84 memcpy(tctx->key_powers[i], key, POLYVAL_BLOCK_SIZE); in polyval_arm64_setkey()
85 internal_polyval_mul(tctx->key_powers[i], in polyval_arm64_setkey()
86 tctx->key_powers[i+1]); in polyval_arm64_setkey()
105 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_update() local
122 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_arm64_update()
128 internal_polyval_update(tctx, src, nblocks, dctx->buffer); in polyval_arm64_update()
146 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_final() local
150 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_arm64_final()
/openbmc/linux/arch/x86/crypto/
H A Dpolyval-clmulni_glue.c84 struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(tfm); in polyval_x86_setkey() local
90 memcpy(tctx->key_powers[NUM_KEY_POWERS-1], key, POLYVAL_BLOCK_SIZE); in polyval_x86_setkey()
93 memcpy(tctx->key_powers[i], key, POLYVAL_BLOCK_SIZE); in polyval_x86_setkey()
94 internal_polyval_mul(tctx->key_powers[i], in polyval_x86_setkey()
95 tctx->key_powers[i+1]); in polyval_x86_setkey()
114 const struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(desc->tfm); in polyval_x86_update() local
131 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_x86_update()
137 internal_polyval_update(tctx, src, nblocks, dctx->buffer); in polyval_x86_update()
155 const struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(desc->tfm); in polyval_x86_final() local
159 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_x86_final()
/openbmc/qemu/include/hw/ppc/
H A Dxive.h425 XiveTCTX *tctx; member
448 int xive_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx,
526 void xive_tctx_tm_write(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset,
528 uint64_t xive_tctx_tm_read(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset,
531 void xive_tctx_pic_print_info(XiveTCTX *tctx, GString *buf);
533 void xive_tctx_reset(XiveTCTX *tctx);
534 void xive_tctx_destroy(XiveTCTX *tctx);
535 void xive_tctx_ipb_update(XiveTCTX *tctx, uint8_t ring, uint8_t ipb);
536 void xive_tctx_reset_signal(XiveTCTX *tctx, uint8_t ring);
544 int kvmppc_xive_cpu_connect(XiveTCTX *tctx, Error **errp);
[all …]
H A Dxive2.h90 int xive2_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx,
118 void xive2_tm_push_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, hwaddr offset,
120 uint64_t xive2_tm_pull_os_ctx(XivePresenter *xptr, XiveTCTX *tctx,
122 void xive2_tm_pull_os_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx,
124 void xive2_tm_set_hv_target(XivePresenter *xptr, XiveTCTX *tctx,
126 void xive2_tm_pull_phys_ctx_ol(XivePresenter *xptr, XiveTCTX *tctx,
/openbmc/linux/include/crypto/internal/
H A Dblake2b.h75 struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(tfm); in crypto_blake2b_setkey() local
80 memcpy(tctx->key, key, keylen); in crypto_blake2b_setkey()
81 tctx->keylen = keylen; in crypto_blake2b_setkey()
88 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init() local
92 __blake2b_init(state, outlen, tctx->key, tctx->keylen); in crypto_blake2b_init()
/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c352 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_hmac_resume() local
353 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_ahash_hmac_resume()
538 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_do_request() local
539 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_ahash_do_request()
562 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_prepare_request() local
563 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_ahash_prepare_request()
585 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_update() local
586 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_update()
626 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_final() local
627 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_final()
[all …]

12