diff options
author | Tink Team <tink-dev@google.com> | 2019-11-01 17:43:55 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2019-11-01 17:44:30 -0700 |
commit | b4a33afd4d55b629e01583ef827eaba5df4addbd (patch) | |
tree | cbed8657ff7c825dcb87cdf77f3f2cb5bd231ce0 /cc/streaming_mac.h | |
parent | c8951f39fb92570fcf77bcd7e0198710816df91d (diff) | |
download | tink-b4a33afd4d55b629e01583ef827eaba5df4addbd.tar.gz |
Implement interface for streaming MAC.
PiperOrigin-RevId: 278033621
Diffstat (limited to 'cc/streaming_mac.h')
-rw-r--r-- | cc/streaming_mac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/streaming_mac.h b/cc/streaming_mac.h index 363b9354c..037b14895 100644 --- a/cc/streaming_mac.h +++ b/cc/streaming_mac.h @@ -36,13 +36,13 @@ class StreamingMac { public: // Returns an ComputeMacOutputStream, which when closed will return the // message authentication code (MAC) of the data put into the stream. - virtual util::StatusOr<std::unique_ptr<OutputStreamWithResult<string>>> + virtual util::StatusOr<std::unique_ptr<OutputStreamWithResult<std::string>>> NewComputeMacOutputStream() const = 0; // Returns an VerifyMacOutputStream which verifies if 'mac' is a correct // message authentication code (MAC) for the data written to it. virtual util::StatusOr<std::unique_ptr<OutputStreamWithResult<util::Status>>> - NewVerifyMacOutputStream(const string& mac_value) const = 0; + NewVerifyMacOutputStream(const std::string& mac_value) const = 0; virtual ~StreamingMac() {} }; |