Searched refs:kmError2ScopedAStatus (Results 1 – 11 of 11) sorted by relevance
39 using km_utils::kmError2ScopedAStatus;106 return kmError2ScopedAStatus(KM_ERROR_INVALID_INPUT_LENGTH); in addRngEntropy()115 return kmError2ScopedAStatus(response.error); in addRngEntropy()134 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in generateKey()155 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in getKeyCharacteristics()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()[all …]
41 using km_utils::kmError2ScopedAStatus;68 return kmError2ScopedAStatus(response.error); in updateAad()75 if (!output) return kmError2ScopedAStatus(KM_ERROR_OUTPUT_PARAMETER_NULL); in update()86 return kmError2ScopedAStatus(KM_ERROR_INVALID_INPUT_LENGTH); in update()104 return kmError2ScopedAStatus(response.error); in update()141 return kmError2ScopedAStatus(KM_ERROR_INVALID_INPUT_LENGTH); in finish()166 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in finish()180 return kmError2ScopedAStatus(response.error); in abort()
26 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()
26 using keymint::km_utils::kmError2ScopedAStatus;34 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in generateTimeStamp()
38 using km_utils::kmError2ScopedAStatus;137 return kmError2ScopedAStatus(static_cast<keymaster_error_t>(STATUS_FAILED)); in generateCertificateRequestV2()
29 using keymint::km_utils::kmError2ScopedAStatus;41 return kmError2ScopedAStatus(response.error); in getSharedSecretParameters()50 return kmError2ScopedAStatus(KM_ERROR_MEMORY_ALLOCATION_FAILED); in computeSharedSecret()56 return kmError2ScopedAStatus(KM_ERROR_INVALID_ARGUMENT); in computeSharedSecret()63 return kmError2ScopedAStatus(response.error); in computeSharedSecret()
37 using km_utils::kmError2ScopedAStatus;264 return kmError2ScopedAStatus(response.error); in addRngEntropy()294 return kmError2ScopedAStatus(response.error); in generateKey()325 return kmError2ScopedAStatus(response.error); in importKey()356 return kmError2ScopedAStatus(response.error); in importWrappedKey()379 return kmError2ScopedAStatus(response.error); in upgradeKey()393 return kmError2ScopedAStatus(response.error); in deleteKey()402 return kmError2ScopedAStatus(response.error); in deleteAllKeys()406 return kmError2ScopedAStatus(KM_ERROR_UNIMPLEMENTED); in destroyAttestationIds()427 return kmError2ScopedAStatus(response.error); in begin()[all …]
67 return kmError2ScopedAStatus(response.error); in updateAad()75 if (!output) return kmError2ScopedAStatus(KM_ERROR_OUTPUT_PARAMETER_NULL); in update()89 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in update()91 return kmError2ScopedAStatus(KM_ERROR_UNKNOWN_ERROR); in update()125 if (response.error != KM_ERROR_OK) return kmError2ScopedAStatus(response.error); in finish()139 return kmError2ScopedAStatus(response.error); in abort()
33 using keymint::km_utils::kmError2ScopedAStatus;47 return kmError2ScopedAStatus(response.error); in generateTimeStamp()
127 return km_utils::kmError2ScopedAStatus(KM_ERROR_MEMORY_ALLOCATION_FAILED); in generateCertificateRequest()151 return km_utils::kmError2ScopedAStatus(static_cast<keymaster_error_t>(STATUS_FAILED)); in generateCertificateRequestV2()
59 inline ScopedAStatus kmError2ScopedAStatus(const keymaster_error_t value) { in kmError2ScopedAStatus() function