Searched refs:km_id_t (Results 1 – 12 of 12) sorted by relevance
/system/keymaster/android_keymaster/ |
D | pure_soft_secure_key_storage.cpp | 31 bool WriteKey(km_id_t keyid); 34 bool KeyExists(km_id_t keyid) const; 37 void DeleteKey(km_id_t keyid); 46 std::vector<km_id_t> keyid_list_; 50 bool PureSoftSecureStorageMap::WriteKey(km_id_t keyid) { in WriteKey() 56 bool PureSoftSecureStorageMap::KeyExists(km_id_t keyid) const { in KeyExists() 57 for (km_id_t key_id : keyid_list_) in KeyExists() 62 void PureSoftSecureStorageMap::DeleteKey(km_id_t keyid) { in DeleteKey() 63 std::vector<km_id_t>::iterator iter; in DeleteKey() 87 keymaster_error_t PureSoftSecureKeyStorage::WriteKey(const km_id_t keyid, in WriteKey() [all …]
|
D | keymaster_enforcement.cpp | 38 bool LastKeyAccessTime(km_id_t keyid, uint32_t* last_access_time) const; 42 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout); 46 km_id_t keyid; 60 bool KeyAccessCount(km_id_t keyid, uint32_t* count) const; 64 bool IncrementKeyAccessCount(km_id_t keyid); 68 km_id_t keyid; 117 const km_id_t keyid, in AuthorizeOperation() 201 const km_id_t keyid, in AuthorizeBegin() 433 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) { in MinTimeBetweenOpsPassed() 441 bool KeymasterEnforcement::MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses) { in MaxUsesPerBootNotExceeded() [all …]
|
D | android_keymaster.cpp | 565 km_id_t key_id; in BeginOperation()
|
/system/keymaster/include/keymaster/ |
D | secure_key_storage.h | 23 typedef uint64_t km_id_t; typedef 43 virtual keymaster_error_t WriteKey(const km_id_t keyid, const KeymasterKeyBlob& blob) = 0; 49 virtual keymaster_error_t KeyExists(const km_id_t keyid, bool* exists) = 0; 54 virtual keymaster_error_t DeleteKey(const km_id_t keyid) = 0;
|
D | keymaster_enforcement.h | 27 typedef uint64_t km_id_t; typedef 55 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid, 66 keymaster_error_t AuthorizeBegin(const keymaster_purpose_t purpose, const km_id_t keyid, 190 virtual bool CreateKeyId(const keymaster_key_blob_t& key_blob, km_id_t* keyid) const = 0; 213 bool MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid); 214 bool MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses);
|
D | pure_soft_secure_key_storage.h | 37 keymaster_error_t WriteKey(const km_id_t keyid, const KeymasterKeyBlob& blob) override; 42 keymaster_error_t KeyExists(const km_id_t keyid, bool* exists) override; 47 keymaster_error_t DeleteKey(const km_id_t keyid) override;
|
/system/security/keystore2/src/crypto/ |
D | crypto.hpp | 33 typedef uint64_t km_id_t; typedef 35 bool CreateKeyId(const uint8_t* key_blob, size_t len, km_id_t* out_id);
|
D | crypto.cpp | 162 bool CreateKeyId(const uint8_t* key_blob, size_t len, km_id_t* out_id) { in CreateKeyId()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | soft_keymaster_enforcement.h | 40 bool CreateKeyId(const keymaster_key_blob_t& key_blob, km_id_t* keyid) const override;
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 203 km_id_t keyid; in CreateKeyBlob() 264 km_id_t keyid; in ParseKeyBlob() 303 km_id_t keyid; in DeleteKey()
|
/system/keymaster/km_openssl/ |
D | soft_keymaster_enforcement.cpp | 63 km_id_t* keyid) const { in CreateKeyId()
|
/system/keymaster/tests/ |
D | keymaster_enforcement_test.cpp | 35 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid, in AuthorizeOperation() 91 static const km_id_t key_id = 0xa; 932 km_id_t key_id = 0; in TEST_F()
|