Home
last modified time | relevance | path

Searched refs:req_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/crypto/
Dtalitos.c1582 struct talitos_ahash_req_ctx *req_ctx = ahash_request_ctx(areq); in common_nonsnoop_hash_unmap() local
1595 talitos_sg_unmap(dev, edesc, req_ctx->psrc, NULL); in common_nonsnoop_hash_unmap()
1610 struct talitos_ahash_req_ctx *req_ctx = ahash_request_ctx(areq); in ahash_done() local
1612 if (!req_ctx->last && req_ctx->to_hash_later) { in ahash_done()
1614 memcpy(req_ctx->buf, req_ctx->bufnext, req_ctx->to_hash_later); in ahash_done()
1615 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done()
1632 struct talitos_ahash_req_ctx *req_ctx = ahash_request_ctx(areq); in common_nonsnoop_hash() local
1641 if (!req_ctx->first || req_ctx->swinit) { in common_nonsnoop_hash()
1643 req_ctx->hw_context_size, in common_nonsnoop_hash()
1644 (char *)req_ctx->hw_context, 0, in common_nonsnoop_hash()
[all …]
Dmv_cesa.c232 struct mv_req_ctx *req_ctx = ablkcipher_request_ctx(req); in mv_process_current_q() local
235 switch (req_ctx->op) { in mv_process_current_q()
248 if (req_ctx->decrypt) { in mv_process_current_q()
291 struct mv_req_ctx *req_ctx = ablkcipher_request_ctx(req); in mv_crypto_algo_completion() local
296 if (req_ctx->op != COP_AES_CBC) in mv_crypto_algo_completion()
305 struct mv_req_hash_ctx *req_ctx = ahash_request_ctx(req); in mv_process_hash_current() local
310 switch (req_ctx->op) { in mv_process_hash_current()
322 req_ctx-> in mv_process_hash_current()
333 is_last = req_ctx->last_chunk in mv_process_hash_current()
335 && (req_ctx->count <= MAX_HW_HASH_SIZE); in mv_process_hash_current()
[all …]
Dixp4xx_crypto.c351 struct aead_ctx *req_ctx = aead_request_ctx(req); in finish_scattered_hmac() local
356 if (req_ctx->encrypt) { in finish_scattered_hmac()
357 scatterwalk_map_and_copy(req_ctx->hmac_virt, in finish_scattered_hmac()
360 dma_pool_free(buffer_pool, req_ctx->hmac_virt, crypt->icv_rev_aes); in finish_scattered_hmac()
376 struct aead_ctx *req_ctx = aead_request_ctx(req); in one_packet() local
378 free_buf_chain(dev, req_ctx->buffer, crypt->src_buf); in one_packet()
379 if (req_ctx->hmac_virt) { in one_packet()
387 struct ablk_ctx *req_ctx = ablkcipher_request_ctx(req); in one_packet() local
389 if (req_ctx->dst) { in one_packet()
390 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in one_packet()
[all …]