Searched refs:raw_encrypted_data (Results 1 – 2 of 2) sorted by relevance
104 std::string raw_encrypted_data; in EncryptData() local105 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()
81 std::string raw_encrypted_data; in encryptWithAuthentication() local84 &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()