/system/tpm/attestation/common/ |
D | crypto_utility_impl.h | 43 std::string* encrypted_data) override; 44 bool UnsealKey(const std::string& encrypted_data, 47 bool DecryptData(const std::string& encrypted_data, 61 std::string* encrypted_data) override; 72 std::string* encrypted_data); 76 bool AesDecrypt(const std::string& encrypted_data,
|
D | crypto_utility_impl.cc | 98 std::string* encrypted_data) { in EncryptData() argument 114 if (!encrypted_pb.SerializeToString(encrypted_data)) { in EncryptData() 121 bool CryptoUtilityImpl::UnsealKey(const std::string& encrypted_data, in UnsealKey() argument 125 if (!encrypted_pb.ParseFromString(encrypted_data)) { in UnsealKey() 137 bool CryptoUtilityImpl::DecryptData(const std::string& encrypted_data, in DecryptData() argument 141 if (!encrypted_pb.ParseFromString(encrypted_data)) { in DecryptData() 146 HmacSha512(encrypted_pb.iv() + encrypted_pb.encrypted_data(), aes_key); in DecryptData() 156 if (!AesDecrypt(encrypted_pb.encrypted_data(), aes_key, encrypted_pb.iv(), in DecryptData() 271 std::string* encrypted_data) { in EncryptForUnbind() argument 285 if (!TpmCompatibleOAEPEncrypt(bound_data, rsa.get(), encrypted_data)) { in EncryptForUnbind() [all …]
|
D | crypto_utility.h | 46 std::string* encrypted_data) = 0; 52 virtual bool UnsealKey(const std::string& encrypted_data, 58 virtual bool DecryptData(const std::string& encrypted_data, 87 std::string* encrypted_data) = 0;
|
D | mock_crypto_utility.h | 42 std::string* encrypted_data)); 45 bool(const std::string& encrypted_data, 50 bool(const std::string& encrypted_data,
|
D | crypto_utility_impl_test.cc | 89 std::string encrypted_data; in TEST_F() local 91 crypto_utility_->EncryptData(data, key, sealed_key, &encrypted_data)); in TEST_F() 95 EXPECT_TRUE(crypto_utility_->UnsealKey(encrypted_data, &key, &sealed_key)); in TEST_F() 96 EXPECT_TRUE(crypto_utility_->DecryptData(encrypted_data, key, &data)); in TEST_F()
|
D | common.proto | 73 // MAC of (iv || encrypted_data). 75 optional bytes encrypted_data = 5; field
|
D | print_common_proto.cc | 162 base::HexEncode(value.encrypted_data().data(), in GetProtoDebugStringWithIndent() 163 value.encrypted_data().size()) in GetProtoDebugStringWithIndent()
|
D | tpm_utility_v1.cc | 312 ScopedTssMemory encrypted_data(context_handle_); in SealToPCR0() local 317 encrypted_data.ptr()))) { in SealToPCR0() 322 TSSBufferAsString(encrypted_data.value(), encrypted_data_length)); in SealToPCR0()
|
D | print_interface_proto.cc | 553 base::HexEncode(value.encrypted_data().data(), in GetProtoDebugStringWithIndent() 554 value.encrypted_data().size()) in GetProtoDebugStringWithIndent()
|
D | interface.proto | 147 optional bytes encrypted_data = 3; field
|
D | attestation_ca.proto | 169 // ChallengeResponse.encrypted_key_info.encrypted_data field. This message holds
|
/system/security/keystore/ |
D | keystore_client.proto | 23 // MAC of (init_vector + encrypted_data). 25 optional bytes encrypted_data = 3; field
|
D | keystore_client_impl.cpp | 64 std::string* encrypted_data) { in encryptWithAuthentication() argument 109 if (!protobuf.SerializeToString(encrypted_data)) { in encryptWithAuthentication() 117 const std::string& encrypted_data, in decryptWithAuthentication() argument 120 if (!protobuf.ParseFromString(encrypted_data)) { in decryptWithAuthentication() 130 protobuf.init_vector() + protobuf.encrypted_data(), in decryptWithAuthentication() 142 protobuf.encrypted_data(), std::string(), /* signature_to_verify */ in decryptWithAuthentication()
|
/system/security/keystore/include/keystore/ |
D | keystore_client.h | 65 std::string* encrypted_data) = 0; 71 const std::string& encrypted_data,
|
D | keystore_client_mock.h | 34 std::string* encrypted_data)); 36 bool(const std::string& key_name, const std::string& encrypted_data,
|
D | keystore_client_impl.h | 38 std::string* encrypted_data) override; 39 bool decryptWithAuthentication(const std::string& key_name, const std::string& encrypted_data,
|
/system/tpm/attestation/client/ |
D | dbus_proxy_test.cc | 314 EXPECT_EQ("data", request_proto.encrypted_data()); in TEST_F()
|
/system/tpm/attestation/server/ |
D | dbus_service_test.cc | 311 EXPECT_EQ("data", request.encrypted_data()); in TEST_F()
|
D | attestation_service.cc | 393 if (!tpm_utility_->Unbind(key.key_blob(), request.encrypted_data(), &data)) { in DecryptTask()
|