/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 | 150 memcpy(cifs_pdu->Signature.SecuritySignature, "BSRSPYL", 8); in cifs_sign_rqst() 154 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_sign_rqst() 156 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_sign_rqst() 163 memset(cifs_pdu->Signature.SecuritySignature, 0, 8); in cifs_sign_rqst() 165 memcpy(cifs_pdu->Signature.SecuritySignature, smb_signature, 8); in cifs_sign_rqst() 224 if (memcmp(cifs_pdu->Signature.SecuritySignature, "BSRSPYL ", 8) == 0) in cifs_verify_signature() 230 memcpy(server_response_sig, cifs_pdu->Signature.SecuritySignature, 8); in cifs_verify_signature() 232 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_verify_signature() 234 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_verify_signature()
|
D | smb2transport.c | 247 memset(shdr->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb2_calc_signature() 298 memcpy(shdr->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb2_calc_signature() 579 memset(shdr->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb3_calc_signature() 620 memcpy(shdr->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb3_calc_signature() 655 strncpy(shdr->Signature, "BSRSPYL", 8); in smb2_sign_rqst() 685 if (memcmp(shdr->Signature, "BSRSPYL ", 8) == 0) in smb2_verify_signature() 693 memcpy(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE); in smb2_verify_signature() 695 memset(shdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_verify_signature() 702 if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE)) { in smb2_verify_signature()
|
D | sess.c | 854 if (memcmp(pblob->Signature, "NTLMSSP", 8)) { in decode_ntlmssp_challenge() 856 pblob->Signature); in decode_ntlmssp_challenge() 1000 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_negotiate_blob() 1062 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_smb3_negotiate_blob() 1132 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 | 4518 memcpy(sign, &tr_hdr->Signature, SMB2_SIGNATURE_SIZE); in crypt_message() 4541 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 | 317 if (memcmp(authblob->Signature, "NTLMSSP", 8)) { in ksmbd_decode_ntlmssp_auth_blob() 319 authblob->Signature); in ksmbd_decode_ntlmssp_auth_blob() 392 if (memcmp(negblob->Signature, "NTLMSSP", 8)) { in ksmbd_decode_ntlmssp_neg_blob() 394 negblob->Signature); in ksmbd_decode_ntlmssp_neg_blob() 421 memcpy(chgblob->Signature, NTLMSSP_SIGNATURE, 8); in ksmbd_build_ntlmssp_challenge_blob() 1167 memcpy(sign, &tr_hdr->Signature, SMB2_SIGNATURE_SIZE); in ksmbd_crypt_message() 1205 memcpy(&tr_hdr->Signature, sign, SMB2_SIGNATURE_SIZE); in ksmbd_crypt_message()
|
D | smb_common.h | 191 } __packed Signature; member
|
D | smb2pdu.c | 268 memset(rsp_hdr->Signature, 0, 16); in init_smb2_neg_rsp() 433 memcpy(rsp_hdr->Signature, rcv_hdr->Signature, 16); in init_chained_smb2_rsp() 512 memcpy(rsp_hdr->Signature, rcv_hdr->Signature, 16); in init_smb2_rsp_hdr() 8364 memcpy(signature_req, hdr->Signature, SMB2_SIGNATURE_SIZE); in smb2_check_sign_req() 8365 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_check_sign_req() 8396 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_set_sign_rsp() 8407 memcpy(hdr->Signature, signature, SMB2_SIGNATURE_SIZE); in smb2_set_sign_rsp() 8454 memcpy(signature_req, hdr->Signature, SMB2_SIGNATURE_SIZE); in smb3_check_sign_req() 8455 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb3_check_sign_req() 8502 memset(hdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb3_set_sign_rsp() [all …]
|
D | oplock.c | 666 memset(rsp_hdr->Signature, 0, 16); in __smb2_oplock_break_noti() 770 memset(rsp_hdr->Signature, 0, 16); in __smb2_lease_break_noti()
|
/fs/smb/common/ |
D | smb2pdu.h | 153 __u8 Signature[16]; member 175 __u8 Signature[16]; member 202 __u8 Signature[16]; member
|