Home
last modified time | relevance | path

Searched refs:KeyType (Results 1 – 24 of 24) sorted by relevance

/system/keymaster/
Doperation.h40 struct KeyType { struct
41 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() argument
47 bool operator==(const KeyType& rhs) const { argument
51 virtual KeyType registry_key() const = 0;
Dhmac_operation.h57 virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_HMAC, purpose()); } in registry_key()
Decdsa_keymaster1_operation.h105 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose_); } in registry_key()
Drsa_keymaster1_operation.h105 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose_); } in registry_key()
Decdsa_operation.h80 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose()); } in registry_key()
Daes_operation.h33 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_AES, purpose()); } in registry_key()
Drsa_operation.h176 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose()); } in registry_key()
Doperation.cpp68 KeyType key_type = registry_key(); in is_public_key_operation()
/system/tpm/attestation/common/
Dprint_common_proto.h28 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size);
29 std::string GetProtoDebugString(KeyType value);
Dinterface.proto37 optional KeyType key_type = 2;
69 optional KeyType key_type = 2;
82 optional KeyType key_type = 1;
94 optional KeyType key_type = 1;
112 optional KeyType key_type = 1;
130 optional KeyType key_type = 3;
Dmock_tpm_utility.h46 MOCK_METHOD9(CreateCertifiedKey, bool(KeyType,
Dtpm_utility.h57 virtual bool CreateCertifiedKey(KeyType key_type,
Dprint_common_proto.cc28 std::string GetProtoDebugString(KeyType value) { in GetProtoDebugString()
32 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size) { in GetProtoDebugStringWithIndent()
Dtpm_utility_v1.h48 bool CreateCertifiedKey(KeyType key_type,
Dcommon.proto10 enum KeyType { enum
Ddatabase.proto86 optional KeyType key_type = 11;
Dtpm_utility_v1.cc170 bool TpmUtilityV1::CreateCertifiedKey(KeyType key_type, in CreateCertifiedKey()
/system/update_engine/common/
Dutils.h275 template<typename KeyType, typename ValueType>
276 bool MapContainsKey(const std::map<KeyType, ValueType>& m, const KeyType& k) { in MapContainsKey() argument
279 template<typename KeyType>
280 bool SetContainsKey(const std::set<KeyType>& s, const KeyType& k) { in SetContainsKey()
/system/tpm/attestation/server/
Dkey_store.h65 KeyType key_type,
Dmock_key_store.h46 KeyType key_type,
Dattestation_service.h231 KeyType key_type,
274 bool GetSubjectPublicKeyInfo(KeyType key_type,
Dpkcs11_key_store.h63 KeyType key_type,
Dattestation_service.cc731 KeyType key_type, in CreateKey()
922 KeyType key_type, in GetSubjectPublicKeyInfo()
Dpkcs11_key_store.cc240 KeyType key_type, in Register()