Searched refs:key_ctx (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
D | chcr_ipsec.c | 508 struct _key_ctx *key_ctx; in copy_key_cpltx_pktxt() local 530 key_ctx = (struct _key_ctx *)pos; in copy_key_cpltx_pktxt() 531 key_ctx->ctx_hdr = sa_entry->key_ctx_hdr; in copy_key_cpltx_pktxt() 532 memcpy(key_ctx->salt, sa_entry->salt, MAX_SALT); in copy_key_cpltx_pktxt() 537 memcpy(key_ctx->key, sa_entry->key, key_len); in copy_key_cpltx_pktxt() 615 sizeof(wr->req.key_ctx) + in ch_ipsec_crypto_wreq()
|
D | chcr_ipsec.h | 30 struct _key_ctx key_ctx; member
|
/linux-6.1.9/drivers/crypto/chelsio/ |
D | chcr_algo.c | 594 struct _key_ctx *key_ctx) in generate_copy_rrkey() argument 597 memcpy(key_ctx->key, ablkctx->rrkey, ablkctx->enckey_len); in generate_copy_rrkey() 599 memcpy(key_ctx->key, in generate_copy_rrkey() 602 memcpy(key_ctx->key + (ablkctx->enckey_len >> 1), in generate_copy_rrkey() 791 sizeof(chcr_req->key_ctx) + sc_len); in create_wreq() 852 chcr_req->key_ctx.ctx_hdr = ablkctx->key_ctx_hdr; in create_cipher_wr() 858 generate_copy_rrkey(ablkctx, &chcr_req->key_ctx); in create_cipher_wr() 862 memcpy(chcr_req->key_ctx.key, ablkctx->key, in create_cipher_wr() 865 memcpy(chcr_req->key_ctx.key, ablkctx->key + in create_cipher_wr() 868 memcpy(chcr_req->key_ctx.key + in create_cipher_wr() [all …]
|
D | chcr_core.h | 93 struct _key_ctx key_ctx; member
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.h | 40 struct ktls_key_ctx key_ctx; member
|
D | chcr_ktls.c | 77 struct ktls_key_ctx *kctx = &tx_info->key_ctx; in chcr_ktls_save_keys() 1214 pos = chcr_copy_to_txd(&tx_info->key_ctx, &q->q, pos, in chcr_ktls_xmit_wr_complete() 1390 pos = chcr_copy_to_txd(&tx_info->key_ctx, &q->q, pos, in chcr_ktls_xmit_wr_short() 1422 memcpy(pos, tx_info->key_ctx.salt, tx_info->salt_size); in chcr_ktls_xmit_wr_short()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 314 int key_ctx; in chtls_key_info() local 316 key_ctx = ((key_ctx_size >> 4) << 3); in chtls_key_info() 319 0, 0, key_ctx); in chtls_key_info()
|