Searched refs:pneg_ctxt (Results 1 – 1 of 1) sorted by relevance
428 build_preauth_ctxt(struct smb2_preauth_neg_context *pneg_ctxt) in build_preauth_ctxt() argument430 pneg_ctxt->ContextType = SMB2_PREAUTH_INTEGRITY_CAPABILITIES; in build_preauth_ctxt()431 pneg_ctxt->DataLength = cpu_to_le16(38); in build_preauth_ctxt()432 pneg_ctxt->HashAlgorithmCount = cpu_to_le16(1); in build_preauth_ctxt()433 pneg_ctxt->SaltLength = cpu_to_le16(SMB311_LINUX_CLIENT_SALT_SIZE); in build_preauth_ctxt()434 get_random_bytes(pneg_ctxt->Salt, SMB311_LINUX_CLIENT_SALT_SIZE); in build_preauth_ctxt()435 pneg_ctxt->HashAlgorithms = SMB2_PREAUTH_INTEGRITY_SHA512; in build_preauth_ctxt()439 build_compression_ctxt(struct smb2_compression_capabilities_context *pneg_ctxt) in build_compression_ctxt() argument441 pneg_ctxt->ContextType = SMB2_COMPRESSION_CAPABILITIES; in build_compression_ctxt()442 pneg_ctxt->DataLength = in build_compression_ctxt()[all …]