MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / extract_lfn_base64_hash

Function extract_lfn_base64_hash

libcppcryptfs/filename/cryptfilename.cpp:388–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388static const WCHAR *
389extract_lfn_base64_hash(const WCHAR *lfn, wstring& storage)
390{
391 storage.clear();
392
393 storage.reserve(50);
394
395 const WCHAR *p = lfn + sizeof(LONGNAME_PREFIX_W) / sizeof(WCHAR) - 1;
396
397 while (*p && *p != '.')
398 storage.push_back(*p++);
399
400 return &storage[0];
401}
402
403
404const WCHAR *

Callers 4

decrypt_reverse_longnameFunction · 0.85
decrypt_pathFunction · 0.85
unencrypt_pathFunction · 0.85
get_actual_encryptedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected