Lines Matching refs:sg_encrypted_data
111 trim_sg(sk, ctx->sg_encrypted_data, in trim_both_sgl()
124 ctx->sg_encrypted_data, 0, in alloc_encrypted_sg()
129 ctx->sg_encrypted_num_elem = ARRAY_SIZE(ctx->sg_encrypted_data); in alloc_encrypted_sg()
168 free_sg(sk, ctx->sg_encrypted_data, &ctx->sg_encrypted_num_elem, in tls_free_both_sg()
182 ctx->sg_encrypted_data[0].offset += tls_ctx->tx.prepend_size; in tls_do_encryption()
183 ctx->sg_encrypted_data[0].length -= tls_ctx->tx.prepend_size; in tls_do_encryption()
195 ctx->sg_encrypted_data[0].offset -= tls_ctx->tx.prepend_size; in tls_do_encryption()
196 ctx->sg_encrypted_data[0].length += tls_ctx->tx.prepend_size; in tls_do_encryption()
214 sg_mark_end(ctx->sg_encrypted_data + ctx->sg_encrypted_num_elem - 1); in tls_push_record()
221 page_address(sg_page(&ctx->sg_encrypted_data[0])) + in tls_push_record()
222 ctx->sg_encrypted_data[0].offset, in tls_push_record()
245 rc = tls_push_sg(sk, tls_ctx, ctx->sg_encrypted_data, 0, flags); in tls_push_record()
452 trim_sg(sk, ctx->sg_encrypted_data, in tls_sw_sendmsg()
1245 sg_init_table(sw_ctx_tx->sg_encrypted_data, in tls_set_sw_offload()
1246 ARRAY_SIZE(sw_ctx_tx->sg_encrypted_data)); in tls_set_sw_offload()
1261 sw_ctx_tx->sg_encrypted_data); in tls_set_sw_offload()