Home
last modified time | relevance | path

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

/fs/cifs/
Dntlmssp.h92 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member
104 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member
116 __u8 Signature[sizeof(NTLMSSP_SIGNATURE)]; member
Dsmb2transport.c199 memset(smb2_pdu->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb2_calc_signature()
266 memcpy(smb2_pdu->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb2_calc_signature()
370 memset(smb2_pdu->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb3_calc_signature()
437 memcpy(smb2_pdu->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb3_calc_signature()
454 strncpy(smb2_pdu->Signature, "BSRSPYL", 8); in smb2_sign_rqst()
482 if (memcmp(smb2_pdu->Signature, "BSRSPYL ", 8) == 0) in smb2_verify_signature()
490 memcpy(server_response_sig, smb2_pdu->Signature, SMB2_SIGNATURE_SIZE); in smb2_verify_signature()
492 memset(smb2_pdu->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_verify_signature()
501 if (memcmp(server_response_sig, smb2_pdu->Signature, in smb2_verify_signature()
Dcifsencrypt.c167 memcpy(cifs_pdu->Signature.SecuritySignature, "BSRSPYL", 8); in cifs_sign_rqst()
171 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_sign_rqst()
173 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_sign_rqst()
180 memset(cifs_pdu->Signature.SecuritySignature, 0, 8); in cifs_sign_rqst()
182 memcpy(cifs_pdu->Signature.SecuritySignature, smb_signature, 8); in cifs_sign_rqst()
235 if (memcmp(cifs_pdu->Signature.SecuritySignature, "BSRSPYL ", 8) == 0) in cifs_verify_signature()
241 memcpy(server_response_sig, cifs_pdu->Signature.SecuritySignature, 8); in cifs_verify_signature()
243 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_verify_signature()
245 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_verify_signature()
Dsess.c293 if (memcmp(pblob->Signature, "NTLMSSP", 8)) { in decode_ntlmssp_challenge()
295 pblob->Signature); in decode_ntlmssp_challenge()
341 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_negotiate_blob()
409 memcpy(sec_blob->Signature, NTLMSSP_SIGNATURE, 8); in build_ntlmssp_auth_blob()
Dsmb2pdu.h117 __u8 Signature[16]; member
130 __u8 Signature[16]; member
Dcifspdu.h426 } __attribute__((packed)) Signature; member