Searched refs:ctx_len (Results 1 – 7 of 7) sorted by relevance
101 inst.opcode = opcode | (lp->ctx_len << 8); in otx2_cpt_enq_sa_write()104 inst.dlen = lp->ctx_len << 3; in otx2_cpt_enq_sa_write()299 lp->ctx_len = sizeof(struct otx2_ipsec_po_out_sa); in crypto_sec_ipsec_outb_session_create()300 lp->ctx_len >>= 3; in crypto_sec_ipsec_outb_session_create()309 lp->ctx_len = sizeof(struct otx2_ipsec_po_out_sa) >> 3; in crypto_sec_ipsec_outb_session_create()310 RTE_ASSERT(lp->ctx_len == OTX2_IPSEC_PO_MAX_OUTB_CTX_LEN); in crypto_sec_ipsec_outb_session_create()327 lp->ucmd_opcode = (lp->ctx_len << 8) | in crypto_sec_ipsec_outb_session_create()383 lp->ctx_len = offsetof(struct otx2_ipsec_po_in_sa, in crypto_sec_ipsec_inb_session_create()393 lp->ctx_len = sizeof(struct otx2_ipsec_po_in_sa) >> 2; in crypto_sec_ipsec_inb_session_create()394 RTE_ASSERT(lp->ctx_len == OTX2_IPSEC_PO_MAX_INB_CTX_LEN); in crypto_sec_ipsec_inb_session_create()[all …]
45 size_t ctx_len; member
523 + sess->auth.ctx_len); in generate_partial_hash()548 + sess->auth.ctx_len); in generate_partial_hash()573 + sess->auth.ctx_len); in generate_partial_hash()1577 session->auth.ctx_len); in ccp_perform_hmac()1661 addr += session->auth.ctx_len; in ccp_perform_hmac()1691 session->auth.ctx_len - in ccp_perform_hmac()1750 session->auth.ctx_len); in ccp_perform_sha()1838 session->auth.ctx_len); in ccp_perform_sha3_hmac()1978 session->auth.ctx_len); in ccp_perform_sha3()2047 session->auth.ctx_len); in ccp_perform_aes_cmac()[all …]
301 int ctx_len; member
437 unsigned int ctx_len = sizeof(struct cpt_ctx); in cpt_get_session_size() local438 return (sizeof(struct cpt_sess_misc) + RTE_ALIGN_CEIL(ctx_len, 8)); in cpt_get_session_size()
1205 uint_t ctx_len; in sha1_free_context() local1218 ctx_len = sizeof (sha1_ctx_t); in sha1_free_context()1222 ctx_len = sizeof (sha1_hmac_ctx_t); in sha1_free_context()1225 bzero(ctx->cc_provider_private, ctx_len); in sha1_free_context()1226 kmem_free(ctx->cc_provider_private, ctx_len); in sha1_free_context()
1377 uint_t ctx_len; in sha2_free_context() local1390 ctx_len = sizeof (sha2_ctx_t); in sha2_free_context()1392 ctx_len = sizeof (sha2_hmac_ctx_t); in sha2_free_context()1394 bzero(ctx->cc_provider_private, ctx_len); in sha2_free_context()1395 kmem_free(ctx->cc_provider_private, ctx_len); in sha2_free_context()