Home
last modified time | relevance | path

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

/Linux-v6.6/fs/smb/client/
Dsmb2ops.c469 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_wsize()
517 sizeof(struct smb2_transform_hdr)); in smb3_negotiate_rsize()
4178 fill_transform_hdr(struct smb2_transform_hdr *tr_hdr, unsigned int orig_len, in fill_transform_hdr()
4184 memset(tr_hdr, 0, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()
4318 struct smb2_transform_hdr *tr_hdr = in crypt_message()
4319 (struct smb2_transform_hdr *)rqst[0].rq_iov[0].iov_base; in crypt_message()
4320 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in crypt_message()
4444 struct smb2_transform_hdr *tr_hdr = new_rq[0].rq_iov[0].iov_base; in smb3_init_transform_rq()
4513 struct smb2_transform_hdr *trhdr = buf; in smb3_is_transform_hdr()
4529 iov[0].iov_len = sizeof(struct smb2_transform_hdr); in decrypt_raw_data()
[all …]
Dsmb2misc.c155 struct smb2_transform_hdr *thdr = in smb2_check_message()
156 (struct smb2_transform_hdr *)buf; in smb2_check_message()
Dtransport.c423 struct smb2_transform_hdr tr_hdr;
/Linux-v6.6/fs/smb/server/
Dauth.c1034 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in ksmbd_init_sg()
1106 struct smb2_transform_hdr *tr_hdr = smb2_get_msg(iov[0].iov_base); in ksmbd_crypt_message()
1107 unsigned int assoc_data_len = sizeof(struct smb2_transform_hdr) - 20; in ksmbd_crypt_message()
Dsmb2pdu.c8538 struct smb2_transform_hdr *tr_hdr = tr_buf + 4; in fill_transform_hdr()
8552 inc_rfc1001_len(tr_buf, sizeof(struct smb2_transform_hdr)); in fill_transform_hdr()
8562 tr_buf = kzalloc(sizeof(struct smb2_transform_hdr) + 4, GFP_KERNEL); in smb3_encrypt_resp()
8570 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_encrypt_resp()
8578 struct smb2_transform_hdr *trhdr = smb2_get_msg(buf); in smb3_is_transform_hdr()
8589 int buf_data_size = pdu_length - sizeof(struct smb2_transform_hdr); in smb3_decrypt_req()
8590 struct smb2_transform_hdr *tr_hdr = smb2_get_msg(buf); in smb3_decrypt_req()
8593 if (pdu_length < sizeof(struct smb2_transform_hdr) || in smb3_decrypt_req()
8613 iov[0].iov_len = sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()
8614 iov[1].iov_base = buf + sizeof(struct smb2_transform_hdr) + 4; in smb3_decrypt_req()
/Linux-v6.6/fs/smb/common/
Dsmb2pdu.h200 struct smb2_transform_hdr { struct