Home
last modified time | relevance | path

Searched refs:raw_encrypted_data (Results 1 – 2 of 2) sorted by relevance

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc104 std::string raw_encrypted_data; in EncryptData() local
105 if (!AesEncrypt(data, aes_key, iv, &raw_encrypted_data)) { in EncryptData()
112 encrypted_pb.set_encrypted_data(raw_encrypted_data); in EncryptData()
113 encrypted_pb.set_mac(HmacSha512(iv + raw_encrypted_data, aes_key)); in EncryptData()
/system/security/keystore/
Dkeystore_client_impl.cpp81 std::string raw_encrypted_data; in encryptWithAuthentication() local
84 &output_params, &raw_encrypted_data)) { in encryptWithAuthentication()
100 init_vector + raw_encrypted_data, std::string(), /* signature_to_verify */ in encryptWithAuthentication()
108 protobuf.set_encrypted_data(raw_encrypted_data); in encryptWithAuthentication()