Home
last modified time | relevance | path

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

/system/keymaster/
Dgoogle_keymaster.cpp79 response->error = KM_ERROR_OK; in SupportedBlockModes()
89 response->error = KM_ERROR_OK; in SupportedPaddingModes()
108 response->error = KM_ERROR_OK; in SupportedDigests()
128 response->error = KM_ERROR_OK; in SupportedImportFormats()
148 response->error = KM_ERROR_OK; in SupportedExportFormats()
167 if (response->error != KM_ERROR_OK) in GenerateKey()
187 response->error = KM_ERROR_OK; in GetKeyCharacteristics()
205 if (response->error != KM_ERROR_OK) in BeginOperation()
220 if (response->error != KM_ERROR_OK) { in UpdateOperation()
243 return KM_ERROR_OK; in AbortOperation()
[all …]
Dgoogle_keymaster_test.cpp61 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
74 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
78 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
82 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
95 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
100 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
105 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
119 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
124 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
129 EXPECT_EQ(KM_ERROR_OK, response.error); in TEST_F()
[all …]
Dasymmetric_key.cpp52 return KM_ERROR_OK; in LoadKey()
74 return KM_ERROR_OK; in key_material()
105 return KM_ERROR_OK; in formatted_key_material()
155 *error = new_key ? KM_ERROR_OK : KM_ERROR_MEMORY_ALLOCATION_FAILED; in GenerateKey()
217 *error = KM_ERROR_OK; in ImportKey()
241 *error = op ? KM_ERROR_OK : KM_ERROR_MEMORY_ALLOCATION_FAILED; in CreateOperation()
332 *error = new_key ? KM_ERROR_OK : KM_ERROR_MEMORY_ALLOCATION_FAILED; in GenerateKey()
353 return KM_ERROR_OK; in GetOrCheckDsaParam()
379 if (*error != KM_ERROR_OK) in ImportKey()
383 if (*error != KM_ERROR_OK) in ImportKey()
[all …]
Decdsa_operation.cpp43 return KM_ERROR_OK; in StoreData()
53 return KM_ERROR_OK; in Finish()
64 return KM_ERROR_OK; in Finish()
Ddsa_operation.cpp43 return KM_ERROR_OK; in StoreData()
53 return KM_ERROR_OK; in Finish()
67 return KM_ERROR_OK; in Finish()
Dkey_blob.cpp49 : error_(KM_ERROR_OK), nonce_(new uint8_t[NONCE_LENGTH]), tag_(new uint8_t[TAG_LENGTH]), in KeyBlob()
55 error_ = KM_ERROR_OK; in KeyBlob()
95 error_ = KM_ERROR_OK; in KeyBlob()
109 error_ = KM_ERROR_OK; in KeyBlob()
151 if (error_ != KM_ERROR_OK) in EncryptKey()
162 error_ = KM_ERROR_OK; in EncryptKey()
167 if (error_ != KM_ERROR_OK) in DecryptKey()
185 error_ = KM_ERROR_OK; in DecryptKey()
197 *error = KM_ERROR_OK; in InitializeKeyWrappingContext()
Dgoogle_keymaster_messages_test.cpp72 msg.error = KM_ERROR_OK; in TEST()
87 rsp.error = KM_ERROR_OK; in TEST()
99 rsp.error = KM_ERROR_OK; in TEST()
124 rsp.error = KM_ERROR_OK; in TEST()
130 EXPECT_EQ(KM_ERROR_OK, deserialized->error); in TEST()
162 msg.error = KM_ERROR_OK; in TEST()
186 msg.error = KM_ERROR_OK; in TEST()
190 EXPECT_EQ(KM_ERROR_OK, deserialized->error); in TEST()
215 msg.error = KM_ERROR_OK; in TEST()
219 EXPECT_EQ(KM_ERROR_OK, deserialized->error); in TEST()
[all …]
Drsa_operation.cpp48 return KM_ERROR_OK; in StoreData()
59 return KM_ERROR_OK; in Finish()
77 return KM_ERROR_OK; in Finish()
Decdsa_operation.h37 virtual keymaster_error_t Begin() { return KM_ERROR_OK; } in Begin()
39 virtual keymaster_error_t Abort() { return KM_ERROR_OK; } in Abort()
Ddsa_operation.h37 virtual keymaster_error_t Begin() { return KM_ERROR_OK; } in Begin()
39 virtual keymaster_error_t Abort() { return KM_ERROR_OK; } in Abort()
Drsa_operation.h35 virtual keymaster_error_t Begin() { return KM_ERROR_OK; } in Begin()
37 virtual keymaster_error_t Abort() { return KM_ERROR_OK; } in Abort()
Dkey.cpp78 *error = KM_ERROR_OK; in ImportKey()
Dgoogle_keymaster_messages.cpp23 if (error != KM_ERROR_OK) in SerializedSize()
31 if (error == KM_ERROR_OK) in Serialize()
39 if (error != KM_ERROR_OK) in Deserialize()
Dkey_blob_test.cpp96 EXPECT_EQ(KM_ERROR_OK, deserialized.error()); in TEST_F()
/system/keymaster/include/keymaster/
Dgoogle_keymaster_messages.h79 error = KM_ERROR_OK; in SetResults()
120 error = KM_ERROR_OK; in GenerateKeyResponse()
Dkeymaster_defs.h319 KM_ERROR_OK = 0, enumerator