Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp241 auto opHandle = keymaster.begin(purpose, kmKey, inParams, authToken, outParams); in begin() local
242 if (opHandle) { in begin()
243 return opHandle; in begin()
245 if (opHandle.errorCode() != km::ErrorCode::KEY_REQUIRES_UPGRADE) return opHandle; in begin()
275 auto opHandle = begin(keymaster, dir, km::KeyPurpose::ENCRYPT, keyParams, opParams, authToken, in encryptWithKeymasterKey() local
277 if (!opHandle) return false; in encryptWithKeymasterKey()
288 if (!opHandle.updateCompletely(message, &body)) return false; in encryptWithKeymasterKey()
291 if (!opHandle.finish(&mac)) return false; in encryptWithKeymasterKey()
306 auto opHandle = begin(keymaster, dir, km::KeyPurpose::DECRYPT, keyParams, opParams, authToken, in decryptWithKeymasterKey() local
308 if (!opHandle) return false; in decryptWithKeymasterKey()
[all …]