Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp144 auto opHandle = keymaster.begin(KM_PURPOSE_ENCRYPT, key, params, &outParams); in encryptWithKeymasterKey() local
145 if (!opHandle) return false; in encryptWithKeymasterKey()
155 if (!opHandle.updateCompletely(message, &body)) return false; in encryptWithKeymasterKey()
158 if (!opHandle.finishWithOutput(&mac)) return false; in encryptWithKeymasterKey()
170 auto opHandle = keymaster.begin(KM_PURPOSE_DECRYPT, key, params); in decryptWithKeymasterKey() local
171 if (!opHandle) return false; in decryptWithKeymasterKey()
172 if (!opHandle.updateCompletely(bodyAndMac, message)) return false; in decryptWithKeymasterKey()
173 if (!opHandle.finish()) return false; in decryptWithKeymasterKey()