Searched refs:cipher_ (Results 1 – 3 of 3) sorted by relevance
/system/core/adb/pairing_auth/ |
D | pairing_auth.cpp | 85 std::unique_ptr<Aes128Gcm> cipher_; member 139 CHECK(!cipher_); in InitCipher() 159 cipher_.reset(new Aes128Gcm(key_material, key_material_len)); in InitCipher() 165 CHECK(cipher_); in Encrypt() 169 Data encrypted(cipher_->EncryptedSize(data.size())); in Encrypt() 170 auto out_size = cipher_->Encrypt(data.data(), data.size(), encrypted.data(), encrypted.size()); in Encrypt() 181 CHECK(cipher_); in Decrypt() 185 Data decrypted(cipher_->DecryptedSize(data.size())); in Decrypt() 187 auto out_size = cipher_->Decrypt(data.data(), data.size(), decrypted.data(), decrypted_size); in Decrypt() 198 CHECK(cipher_); in SafeEncryptedSize() [all …]
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 256 cipher_(cipher), in DmTargetCrypt() 272 std::string cipher_; 288 cipher_(cipher), in DmTargetDefaultKey() 303 std::string cipher_; variable
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 232 cipher_, in GetParameterString() 258 argv.emplace_back(cipher_); in GetParameterString()
|