Descriptioncryptohome: Move Encrypt/DecryptWithSystemSalt() out of CryptohomeLibrary
The implementation in CryptohomeLibrary is moved to CryptohomeTokenEncryptor
as-is, except that CryptohomeLibrary::GetCachedSystemSalt() is called at the
beginning of LoadSystemSaltKey():
bool CryptohomeTokenEncryptor::LoadSystemSaltKey() {
if (system_salt_.empty())
system_salt_ = CryptohomeLibrary::Get()->GetCachedSystemSalt();
BUG=303474, 298605
TEST=none
R=davidroche@chromium.org, hashimoto@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227631
Patch Set 1 #
Total comments: 4
Patch Set 2 : remove mock_cryptohome_library #Patch Set 3 : add GetCachedSystemSalt #
Total comments: 13
Patch Set 4 : rebase #Patch Set 5 : address comments #Messages
Total messages: 11 (0 generated)
|