Make IV const in privacy_crypto

Merged from https://widevine-internal-review.googlesource.com/188677

Change-Id: I17346b54259ca1929ef40a8d61aef38969800159
This commit is contained in:
Jacob Trimble
2023-11-30 23:27:55 +00:00
committed by Robert Shih
parent 8429693866
commit a457c2a14d
4 changed files with 14 additions and 18 deletions

View File

@@ -37,7 +37,7 @@ class AesCbcKey {
~AesCbcKey();
bool Init(const std::string& key);
bool Encrypt(const std::string& in, std::string* out, std::string* iv);
bool Encrypt(const std::string& in, const std::string& iv, std::string* out);
private:
std::string key_;