Home
last modified time | relevance | path

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

/system/netd/libnetdutils/include/netdutils/
DOperationLimiter.h47 template<typename KeyType>
62 bool start(KeyType key) EXCLUDES(mMutex) { in start()
75 void finish(KeyType key) EXCLUDES(mMutex) { in finish()
95 std::unordered_map<KeyType, int> mCounters GUARDED_BY(mMutex);
/system/core/adb/crypto/include/adb/crypto/
Dkey.h31 explicit Key(bssl::UniquePtr<EVP_PKEY>&& pkey, adb::proto::KeyType type) in Key()
37 adb::proto::KeyType GetKeyType() const { return key_type_; } in GetKeyType()
42 adb::proto::KeyType key_type_;
/system/bt/gd/hci/
Denum_helper.h63 template <typename T, typename std::enable_if<std::is_same_v<T, hci::KeyType>, int>::type = 0>
64 std::optional<hci::KeyType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
69 if (*raw_value < static_cast<int64_t>(hci::KeyType::COMBINATION) || in FromLegacyConfigString()
70 *raw_value > static_cast<int64_t>(hci::KeyType::AUTHENTICATED_P256)) { in FromLegacyConfigString()
73 return static_cast<hci::KeyType>(*raw_value); in FromLegacyConfigString()
Dhci_packets.pdl4024 enum KeyType : 8 {
4037 key_type : KeyType,
/system/bt/gd/security/record/
Dsecurity_record.h63 void SetLinkKey(std::array<uint8_t, 16> link_key, hci::KeyType key_type) { in SetLinkKey()
78 hci::KeyType GetKeyType() { in GetKeyType()
116 hci::KeyType key_type_ = hci::KeyType::DEBUG_COMBINATION;
/system/keymaster/include/keymaster/
Doperation.h41 struct KeyType { struct
42 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() argument
48 bool operator==(const KeyType& rhs) const { argument
52 virtual KeyType registry_key() const = 0;
/system/bt/gd/security/pairing/
Dclassic_pairing_handler_unittest.cc186 hci::KeyType key_type) { in ReceiveLinkKeyNotification()
272 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
310 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
348 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
386 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
424 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
462 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
500 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
538 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F()
/system/keymaster/km_openssl/
Dhmac_operation.h56 virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_HMAC, purpose()); } in registry_key()
Dblock_cipher_operation.h50 KeyType registry_key() const override { in registry_key()
51 return KeyType(GetCipherDescription().algorithm(), purpose_); in registry_key()
/system/keymaster/legacy_support/
Decdsa_keymaster1_operation.h108 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose_); } in registry_key()
Drsa_keymaster1_operation.h108 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose_); } in registry_key()
Dkeymaster_passthrough_operation.h101 KeyType registry_key() const override { return key_type_; } in registry_key()
132 KeyType key_type_;
/system/keymaster/include/keymaster/km_openssl/
Decdsa_operation.h85 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose()); } in registry_key()
Drsa_operation.h187 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose()); } in registry_key()
/system/core/adb/crypto/tests/
Dkey_test.cpp35 EXPECT_EQ(rsa_2048->GetKeyType(), adb::proto::KeyType::RSA_2048); in TEST()
Drsa_2048_key_test.cpp35 EXPECT_EQ(rsa_2048->GetKeyType(), adb::proto::KeyType::RSA_2048); in TEST()
/system/core/adb/proto/
Dkey_type.proto24 enum KeyType { enum
/system/core/adb/crypto/
Drsa_2048_key.cpp83 return std::optional<Key>{Key(std::move(pkey), adb::proto::KeyType::RSA_2048)}; in CreateRSA2048Key()
/system/bt/gd/storage/
Dclassic_device.h87 GENERATE_PROPERTY_GETTER_SETTER_REMOVER(LinkKeyType, hci::KeyType, "LinkKeyType");
/system/keymaster/android_keymaster/
Doperation.cpp68 KeyType key_type = registry_key(); in is_public_key_operation()
/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc469 …hci::LinkKeyNotificationBuilder::Create(device_.GetAddress(), link_key, hci::KeyType::DEBUG_COMBIN… in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc1361 peer, key_vec, bluetooth::hci::KeyType::AUTHENTICATED_P256)); in UserConfirmationRequestReply()