Searched refs:SMB2_SIGNATURE_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/fs/cifs/ |
D | smb2transport.c | 184 memset(shdr->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb2_calc_signature() 228 memcpy(shdr->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb2_calc_signature() 444 memset(shdr->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb3_calc_signature() 486 memcpy(shdr->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb3_calc_signature() 541 memcpy(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE); in smb2_verify_signature() 543 memset(shdr->Signature, 0, SMB2_SIGNATURE_SIZE); in smb2_verify_signature() 552 if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE)) in smb2_verify_signature()
|
D | smb2glob.h | 55 #define SMB2_SIGNATURE_SIZE (16) macro
|
D | smb2ops.c | 2693 smb2_sg_set_buf(&sg[idx], sign, SMB2_SIGNATURE_SIZE); in init_sg() 2733 u8 sign[SMB2_SIGNATURE_SIZE] = {}; in crypt_message() 2763 rc = crypto_aead_setauthsize(tfm, SMB2_SIGNATURE_SIZE); in crypt_message() 2776 memcpy(sign, &tr_hdr->Signature, SMB2_SIGNATURE_SIZE); in crypt_message() 2777 crypt_len += SMB2_SIGNATURE_SIZE; in crypt_message() 2807 memcpy(&tr_hdr->Signature, sign, SMB2_SIGNATURE_SIZE); in crypt_message()
|