Searched refs:smb2_transform_hdr (Results 1 – 6 of 6) sorted by relevance
530 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_wsize()581 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_rsize()4326 fill_transform_hdr(struct smb2_transform_hdr *tr_hdr, unsigned int orig_len, in fill_transform_hdr()4332 memset(tr_hdr, 0, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()4463 struct smb2_transform_hdr *tr_hdr = in crypt_message()4464 (struct smb2_transform_hdr *)rqst[0].rq_iov[0].iov_base; in crypt_message()4465 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in crypt_message()4579 struct smb2_transform_hdr *tr_hdr = new_rq[0].rq_iov[0].iov_base; in smb3_init_transform_rq()4629 struct smb2_transform_hdr *trhdr = buf; in smb3_is_transform_hdr()4646 iov[0].iov_len = sizeof(struct smb2_transform_hdr); in decrypt_raw_data()[all …]
157 struct smb2_transform_hdr *thdr = in smb2_check_message()158 (struct smb2_transform_hdr *)buf; in smb2_check_message()
389 struct smb2_transform_hdr tr_hdr; in smb_send_rqst()
730 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in ksmbd_init_sg()802 struct smb2_transform_hdr *tr_hdr = smb_get_msg(iov[0].iov_base); in ksmbd_crypt_message()803 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in ksmbd_crypt_message()
9169 struct smb2_transform_hdr *tr_hdr = tr_buf + 4; in fill_transform_hdr()9183 inc_rfc1001_len(tr_buf, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()9193 tr_buf = kzalloc(sizeof(struct smb2_transform_hdr) + 4, KSMBD_DEFAULT_GFP); in smb3_encrypt_resp()9201 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_encrypt_resp()9209 struct smb2_transform_hdr *trhdr = smb_get_msg(buf); in smb3_is_transform_hdr()9220 int buf_data_size = pdu_length - sizeof(struct smb2_transform_hdr); in smb3_decrypt_req()9221 struct smb2_transform_hdr *tr_hdr = smb_get_msg(buf); in smb3_decrypt_req()9224 if (pdu_length < sizeof(struct smb2_transform_hdr) || in smb3_decrypt_req()9245 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()9246 iov[1].iov_base = buf + sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()
207 struct smb2_transform_hdr { struct