Home
last modified time | relevance | path

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

/aosp12/system/core/trusty/keymaster/keymint/
H A DTrustyKeyMintDevice.cpp39 using km_utils::kmError2ScopedAStatus;
115 return kmError2ScopedAStatus(response.error); in addRngEntropy()
182 return kmError2ScopedAStatus(response.error); in importKey()
212 return kmError2ScopedAStatus(response.error); in importWrappedKey()
234 return kmError2ScopedAStatus(response.error); in upgradeKey()
248 return kmError2ScopedAStatus(response.error); in deleteKey()
257 return kmError2ScopedAStatus(response.error); in deleteAllKeys()
261 return kmError2ScopedAStatus(KM_ERROR_UNIMPLEMENTED); in destroyAttestationIds()
281 return kmError2ScopedAStatus(response.error); in begin()
300 return kmError2ScopedAStatus(response.error); in deviceLocked()
[all …]
H A DTrustyKeyMintOperation.cpp41 using km_utils::kmError2ScopedAStatus;
64 return kmError2ScopedAStatus(response.error); in updateAad()
71 if (!output) return kmError2ScopedAStatus(KM_ERROR_OUTPUT_PARAMETER_NULL); in update()
82 return kmError2ScopedAStatus(KM_ERROR_INVALID_INPUT_LENGTH); in update()
100 return kmError2ScopedAStatus(response.error); in update()
137 return kmError2ScopedAStatus(KM_ERROR_INVALID_INPUT_LENGTH); in finish()
162 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in finish()
176 return kmError2ScopedAStatus(response.error); in abort()
H A DTrustySharedSecret.cpp26 using keymint::km_utils::kmError2ScopedAStatus;
32 return kmError2ScopedAStatus(response.error); in getSharedSecretParameters()
43 return kmError2ScopedAStatus(KM_ERROR_INVALID_ARGUMENT); in computeSharedSecret()
51 return kmError2ScopedAStatus(response.error); in computeSharedSecret()
H A DTrustySecureClock.cpp26 using keymint::km_utils::kmError2ScopedAStatus;
34 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in generateTimeStamp()
/aosp12/system/keymaster/ng/
H A DAndroidKeyMintDevice.cpp37 using km_utils::kmError2ScopedAStatus;
249 return kmError2ScopedAStatus(response.error); in addRngEntropy()
279 return kmError2ScopedAStatus(response.error); in generateKey()
310 return kmError2ScopedAStatus(response.error); in importKey()
341 return kmError2ScopedAStatus(response.error); in importWrappedKey()
364 return kmError2ScopedAStatus(response.error); in upgradeKey()
378 return kmError2ScopedAStatus(response.error); in deleteKey()
387 return kmError2ScopedAStatus(response.error); in deleteAllKeys()
412 return kmError2ScopedAStatus(response.error); in begin()
432 return kmError2ScopedAStatus(response.error); in deviceLocked()
[all …]
H A DAndroidKeyMintOperation.cpp62 return kmError2ScopedAStatus(response.error); in updateAad()
70 if (!output) return kmError2ScopedAStatus(KM_ERROR_OUTPUT_PARAMETER_NULL); in update()
79 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in update()
81 return kmError2ScopedAStatus(KM_ERROR_UNKNOWN_ERROR); in update()
110 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in finish()
124 return kmError2ScopedAStatus(response.error); in abort()
H A DAndroidSharedSecret.cpp29 using keymint::km_utils::kmError2ScopedAStatus;
41 return kmError2ScopedAStatus(response.error); in getSharedSecretParameters()
52 return kmError2ScopedAStatus(KM_ERROR_INVALID_ARGUMENT); in computeSharedSecret()
59 return kmError2ScopedAStatus(response.error); in computeSharedSecret()
H A DAndroidSecureClock.cpp33 using keymint::km_utils::kmError2ScopedAStatus;
47 return kmError2ScopedAStatus(response.error); in generateTimeStamp()
/aosp12/system/keymaster/ng/include/
H A DKeyMintUtils.h59 inline ScopedAStatus kmError2ScopedAStatus(const keymaster_error_t value) { in kmError2ScopedAStatus() function