Lines Matching refs:data_crc

544 						  &cmd->data_crc);  in iscsit_xmit_nondatain_pdu()
546 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
551 data_buf_len, hdr->opcode, cmd->data_crc); in iscsit_xmit_nondatain_pdu()
618 cmd->data_crc = iscsit_do_crypto_hash_sg(conn->conn_tx_hash, in iscsit_xmit_datain_pdu()
624 iov[iov_count].iov_base = &cmd->data_crc; in iscsit_xmit_datain_pdu()
629 datain->length + cmd->padding, cmd->data_crc); in iscsit_xmit_datain_pdu()
1383 u32 data_crc; in iscsit_do_crypto_hash_sg() local
1421 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc, in iscsit_do_crypto_hash_sg()
1425 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0); in iscsit_do_crypto_hash_sg()
1429 return data_crc; in iscsit_do_crypto_hash_sg()
1434 const void *pad_bytes, void *data_crc) in iscsit_do_crypto_hash_buf() argument
1443 ahash_request_set_crypt(hash, sg, data_crc, payload_length + padding); in iscsit_do_crypto_hash_buf()
1631 u32 data_crc; in iscsit_get_dataout() local
1633 data_crc = iscsit_do_crypto_hash_sg(conn->conn_rx_hash, cmd, in iscsit_get_dataout()
1638 if (checksum != data_crc) { in iscsit_get_dataout()
1643 hdr->datasn, checksum, data_crc); in iscsit_get_dataout()
1861 u32 checksum, data_crc, padding = 0; in iscsit_handle_nop_out() local
1898 cmd->pad_bytes, &data_crc); in iscsit_handle_nop_out()
1900 if (checksum != data_crc) { in iscsit_handle_nop_out()
1903 checksum, data_crc); in iscsit_handle_nop_out()
2266 u32 checksum = 0, data_crc = 0; in iscsit_handle_text_cmd() local
2300 &data_crc); in iscsit_handle_text_cmd()
2302 if (checksum != data_crc) { in iscsit_handle_text_cmd()
2305 " 0x%08x\n", checksum, data_crc); in iscsit_handle_text_cmd()
2656 u32 data_crc; in iscsit_handle_immediate_data() local
2658 data_crc = iscsit_do_crypto_hash_sg(conn->conn_rx_hash, cmd, in iscsit_handle_immediate_data()
2662 if (checksum != data_crc) { in iscsit_handle_immediate_data()
2665 data_crc); in iscsit_handle_immediate_data()