Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dpure_soft_secure_key_storage.cpp31 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 …]
Dkeymaster_enforcement.cpp38 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()
434 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) { in MinTimeBetweenOpsPassed()
442 bool KeymasterEnforcement::MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses) { in MaxUsesPerBootNotExceeded()
[all …]
Dandroid_keymaster.cpp630 km_id_t key_id; in BeginOperation()
/system/keymaster/include/keymaster/
Dsecure_key_storage.h23 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;
Dkeymaster_enforcement.h30 typedef uint64_t km_id_t; typedef
58 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid,
69 keymaster_error_t AuthorizeBegin(const keymaster_purpose_t purpose, const km_id_t keyid,
203 virtual bool CreateKeyId(const keymaster_key_blob_t& key_blob, km_id_t* keyid) const = 0;
226 bool MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid);
227 bool MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses);
Dpure_soft_secure_key_storage.h37 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/
Dcrypto.hpp35 typedef uint64_t km_id_t; typedef
37 bool CreateKeyId(const uint8_t* key_blob, size_t len, km_id_t* out_id);
Dcrypto.cpp172 bool CreateKeyId(const uint8_t* key_blob, size_t len, km_id_t* out_id) { in CreateKeyId()
/system/keymaster/include/keymaster/km_openssl/
Dsoft_keymaster_enforcement.h40 bool CreateKeyId(const keymaster_key_blob_t& key_blob, km_id_t* keyid) const override;
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp258 km_id_t keyid; in CreateKeyBlob()
319 km_id_t keyid; in ParseKeyBlob()
358 km_id_t keyid; in DeleteKey()
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp71 km_id_t* keyid) const { in CreateKeyId()
/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp35 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()