Searched refs:smb2_transform_hdr (Results 1 – 7 of 7) sorted by relevance
452 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_wsize()500 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_rsize()4210 fill_transform_hdr(struct smb2_transform_hdr *tr_hdr, unsigned int orig_len, in fill_transform_hdr()4216 memset(tr_hdr, 0, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()4343 struct smb2_transform_hdr *tr_hdr = in crypt_message()4344 (struct smb2_transform_hdr *)rqst[0].rq_iov[0].iov_base; in crypt_message()4345 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in crypt_message()4455 struct smb2_transform_hdr *tr_hdr = new_rq[0].rq_iov[0].iov_base; in smb3_init_transform_rq()4518 struct smb2_transform_hdr *trhdr = buf; in smb3_is_transform_hdr()4534 iov[0].iov_len = sizeof(struct smb2_transform_hdr); in decrypt_raw_data()[all …]
155 struct smb2_transform_hdr *thdr = in smb2_check_message()156 (struct smb2_transform_hdr *)buf; in smb2_check_message()
446 struct smb2_transform_hdr *tr_hdr; in smb_send_rqst()
1027 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in ksmbd_init_sg()1092 struct smb2_transform_hdr *tr_hdr = smb2_get_msg(iov[0].iov_base); in ksmbd_crypt_message()1093 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in ksmbd_crypt_message()
182 sizeof(struct smb2_transform_hdr) + 4 }; in ksmbd_conn_write()
8547 struct smb2_transform_hdr *tr_hdr = tr_buf + 4; in fill_transform_hdr()8561 inc_rfc1001_len(tr_buf, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()8575 work->tr_buf = kzalloc(sizeof(struct smb2_transform_hdr) + 4, GFP_KERNEL); in smb3_encrypt_resp()8583 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_encrypt_resp()8610 struct smb2_transform_hdr *trhdr = smb2_get_msg(buf); in smb3_is_transform_hdr()8621 int buf_data_size = pdu_length - sizeof(struct smb2_transform_hdr); in smb3_decrypt_req()8622 struct smb2_transform_hdr *tr_hdr = smb2_get_msg(buf); in smb3_decrypt_req()8644 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()8645 iov[1].iov_base = buf + sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()
178 struct smb2_transform_hdr { struct