Home
last modified time | relevance | path

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

/drivers/crypto/vmx/
Dghash.c48 struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc); in p8_ghash_init() local
50 dctx->bytes = 0; in p8_ghash_init()
51 memset(dctx->shash, 0, GHASH_DIGEST_SIZE); in p8_ghash_init()
78 struct p8_ghash_desc_ctx *dctx) in __ghash_block() argument
86 gcm_ghash_p8(dctx->shash, ctx->htable, in __ghash_block()
87 dctx->buffer, GHASH_DIGEST_SIZE); in __ghash_block()
91 crypto_xor((u8 *)dctx->shash, dctx->buffer, GHASH_BLOCK_SIZE); in __ghash_block()
92 gf128mul_lle((be128 *)dctx->shash, &ctx->key); in __ghash_block()
97 struct p8_ghash_desc_ctx *dctx, in __ghash_blocks() argument
106 gcm_ghash_p8(dctx->shash, ctx->htable, in __ghash_blocks()
[all …]
/drivers/crypto/
Dpadlock-sha.c38 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_init() local
41 dctx->fallback.tfm = ctx->fallback; in padlock_sha_init()
42 dctx->fallback.flags = desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP; in padlock_sha_init()
43 return crypto_shash_init(&dctx->fallback); in padlock_sha_init()
49 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_update() local
51 dctx->fallback.flags = desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP; in padlock_sha_update()
52 return crypto_shash_update(&dctx->fallback, data, length); in padlock_sha_update()
57 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_export() local
59 return crypto_shash_export(&dctx->fallback, out); in padlock_sha_export()
64 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_import() local
[all …]
/drivers/gpu/drm/i915/
Di915_gem_context.c409 struct intel_context *dctx = dev_priv->ring[RCS].default_context; in i915_gem_context_fini() local
412 if (dctx->legacy_hw_ctx.rcs_state) { in i915_gem_context_fini()
425 if (dev_priv->ring[RCS].last_context == dctx) { in i915_gem_context_fini()
427 WARN_ON(dctx->legacy_hw_ctx.rcs_state->active); in i915_gem_context_fini()
428 i915_gem_object_ggtt_unpin(dctx->legacy_hw_ctx.rcs_state); in i915_gem_context_fini()
429 i915_gem_context_unreference(dctx); in i915_gem_context_fini()
433 i915_gem_object_ggtt_unpin(dctx->legacy_hw_ctx.rcs_state); in i915_gem_context_fini()
446 i915_gem_context_unreference(dctx); in i915_gem_context_fini()
Dintel_ringbuffer.c45 struct intel_context *dctx = ring->default_context; in intel_ring_initialized() local
46 struct intel_ringbuffer *ringbuf = dctx->engine[ring->id].ringbuf; in intel_ring_initialized()