/fs/smb/client/ |
D | ntlmssp.h | 79 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member 103 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member 115 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member 127 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member
|
D | cifsencrypt.c | 278 memcpy(cifs_pdu->Signature.SecuritySignature, "BSRSPYL", 8); in cifs_sign_rqst() 282 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_sign_rqst() 284 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_sign_rqst() 291 memset(cifs_pdu->Signature.SecuritySignature, 0, 8); in cifs_sign_rqst() 293 memcpy(cifs_pdu->Signature.SecuritySignature, smb_signature, 8); in cifs_sign_rqst() 352 if (memcmp(cifs_pdu->Signature.SecuritySignature, "BSRSPYL ", 8) == 0) in cifs_verify_signature() 358 memcpy(server_response_sig, cifs_pdu->Signature.SecuritySignature, 8); in cifs_verify_signature() 360 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_verify_signature() 362 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_verify_signature()
|
D | smb2transport.c | 250 memset(shdr->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb2_calc_signature() 301 memcpy(shdr->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb2_calc_signature() 588 memset(shdr->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb3_calc_signature() 629 memcpy(shdr->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb3_calc_signature() 664 strncpy(shdr->Signature, "BSRSPYL", 8); in smb2_sign_rqst() 694 if (memcmp(shdr->Signature, "BSRSPYL ", 8) == 0) in smb2_verify_signature() 702 memcpy(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE); in smb2_verify_signature() 704 memset(shdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_verify_signature() 711 if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE)) { in smb2_verify_signature()
|
D | sess.c | 931 if (memcmp(pblob->Signature, "NTLMSSP", 8)) { in decode_ntlmssp_challenge() 933 pblob->Signature); in decode_ntlmssp_challenge() 1080 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_negotiate_blob() 1142 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_smb3_negotiate_blob() 1212 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_auth_blob()
|
D | smb2pdu.h | 43 __u8 Signature[]; /* variable length */ member
|
D | cifspdu.h | 403 } __attribute__((packed)) Signature; member
|
D | smb2ops.c | 4269 memcpy(sign, &tr_hdr->Signature, SMB2_SIGNATURE_SIZE); in crypt_message() 4292 memcpy(&tr_hdr->Signature, sign, SMB2_SIGNATURE_SIZE); in crypt_message()
|
/fs/smb/server/ |
D | ntlmssp.h | 102 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member 116 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member 130 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member
|
D | auth.c | 320 if (memcmp(authblob->Signature, "NTLMSSP", 8)) { in ksmbd_decode_ntlmssp_auth_blob() 322 authblob->Signature); in ksmbd_decode_ntlmssp_auth_blob() 395 if (memcmp(negblob->Signature, "NTLMSSP", 8)) { in ksmbd_decode_ntlmssp_neg_blob() 397 negblob->Signature); in ksmbd_decode_ntlmssp_neg_blob() 423 memcpy(chgblob->Signature, NTLMSSP_SIGNATURE, 8); in ksmbd_build_ntlmssp_challenge_blob() 1169 memcpy(sign, &tr_hdr->Signature, SMB2_SIGNATURE_SIZE); in ksmbd_crypt_message() 1207 memcpy(&tr_hdr->Signature, sign, SMB2_SIGNATURE_SIZE); in ksmbd_crypt_message()
|
D | smb_common.h | 191 } __packed Signature; member
|
D | smb2pdu.c | 269 memset(rsp_hdr->Signature, 0, 16); in init_smb2_neg_rsp() 434 memcpy(rsp_hdr->Signature, rcv_hdr->Signature, 16); in init_chained_smb2_rsp() 513 memcpy(rsp_hdr->Signature, rcv_hdr->Signature, 16); in init_smb2_rsp_hdr() 8676 memcpy(signature_req, hdr->Signature, SMB2_SIGNATURE_SIZE); in smb2_check_sign_req() 8677 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_check_sign_req() 8708 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_set_sign_rsp() 8719 memcpy(hdr->Signature, signature, SMB2_SIGNATURE_SIZE); in smb2_set_sign_rsp() 8766 memcpy(signature_req, hdr->Signature, SMB2_SIGNATURE_SIZE); in smb3_check_sign_req() 8767 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb3_check_sign_req() 8814 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb3_set_sign_rsp() [all …]
|
D | oplock.c | 678 memset(rsp_hdr->Signature, 0, 16); in __smb2_oplock_break_noti() 782 memset(rsp_hdr->Signature, 0, 16); in __smb2_lease_break_noti()
|
/fs/smb/common/ |
D | smb2pdu.h | 154 __u8 Signature[16]; member 176 __u8 Signature[16]; member 203 __u8 Signature[16]; member
|