summaryrefslogtreecommitdiff
path: root/key_blob_utils/auth_encrypted_key_blob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'key_blob_utils/auth_encrypted_key_blob.cpp')
-rw-r--r--key_blob_utils/auth_encrypted_key_blob.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/key_blob_utils/auth_encrypted_key_blob.cpp b/key_blob_utils/auth_encrypted_key_blob.cpp
index 3cdcf5c..c726d4d 100644
--- a/key_blob_utils/auth_encrypted_key_blob.cpp
+++ b/key_blob_utils/auth_encrypted_key_blob.cpp
@@ -16,6 +16,8 @@
#include <keymaster/key_blob_utils/auth_encrypted_key_blob.h>
+#include <utility>
+
#include <openssl/digest.h>
#include <openssl/evp.h>
#include <openssl/hkdf.h>
@@ -139,7 +141,7 @@ KmErrorOr<EncryptedKey> AesGcmEncryptKey(const AuthorizationSet& hw_enforced,
EncryptedKey retval;
retval.format = format;
retval.ciphertext = KeymasterKeyBlob(ciphertext_len);
- retval.nonce = move(nonce);
+ retval.nonce = std::move(nonce);
retval.tag = Buffer(kAesGcmTagLength);
if (!(EVP_EncryptInit_ex(ctx.get(), EVP_aes_256_gcm(), nullptr /* engine */, kek->peek_read(),