Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp174 auto opHandle = keymaster.begin(purpose, kmKey, inParams, outParams); in begin() local
175 if (opHandle) { in begin()
176 return opHandle; in begin()
178 if (opHandle.errorCode() != ErrorCode::KEY_REQUIRES_UPGRADE) return opHandle; in begin()
201 auto opHandle = begin(keymaster, dir, KeyPurpose::ENCRYPT, keyParams, opParams, &outParams); in encryptWithKeymasterKey() local
202 if (!opHandle) return false; in encryptWithKeymasterKey()
212 if (!opHandle.updateCompletely(message, &body)) return false; in encryptWithKeymasterKey()
215 if (!opHandle.finish(&mac)) return false; in encryptWithKeymasterKey()
228 auto opHandle = begin(keymaster, dir, KeyPurpose::DECRYPT, keyParams, opParams, nullptr); in decryptWithKeymasterKey() local
229 if (!opHandle) return false; in decryptWithKeymasterKey()
[all …]