Home
last modified time | relevance | path

Searched refs:smb2_transform_hdr (Results 1 – 4 of 4) sorted by relevance

/linux/fs/smb/client/
H A Dsmb2ops.c508 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_wsize()
556 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_rsize()
4153 fill_transform_hdr(struct smb2_transform_hdr *tr_hdr, unsigned int orig_len, in fill_transform_hdr()
4159 memset(tr_hdr, 0, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()
4293 struct smb2_transform_hdr *tr_hdr = in crypt_message()
4294 (struct smb2_transform_hdr *)rqst[0].rq_iov[0].iov_base; in crypt_message()
4295 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in crypt_message()
4461 struct smb2_transform_hdr *tr_hdr = new_rq[0].rq_iov[0].iov_base; in smb3_init_transform_rq()
4509 struct smb2_transform_hdr *trhdr = buf; in smb3_is_transform_hdr()
4526 iov[0].iov_len = sizeof(struct smb2_transform_hdr); in decrypt_raw_data()
[all …]
H A Dsmb2misc.c155 struct smb2_transform_hdr *thdr = in smb2_check_message()
156 (struct smb2_transform_hdr *)buf; in smb2_check_message()
/linux/fs/smb/server/
H A Dsmb2pdu.c8920 struct smb2_transform_hdr *tr_hdr = tr_buf + 4; in fill_transform_hdr()
8934 inc_rfc1001_len(tr_buf, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()
8944 tr_buf = kzalloc(sizeof(struct smb2_transform_hdr) + 4, KSMBD_DEFAULT_GFP); in smb3_encrypt_resp()
8952 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_encrypt_resp()
8960 struct smb2_transform_hdr *trhdr = smb2_get_msg(buf); in smb3_is_transform_hdr()
8971 int buf_data_size = pdu_length - sizeof(struct smb2_transform_hdr); in smb3_decrypt_req()
8972 struct smb2_transform_hdr *tr_hdr = smb2_get_msg(buf); in smb3_decrypt_req()
8975 if (pdu_length < sizeof(struct smb2_transform_hdr) || in smb3_decrypt_req()
8996 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()
8997 iov[1].iov_base = buf + sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()
/linux/fs/smb/common/
H A Dsmb2pdu.h201 struct smb2_transform_hdr { struct