Home
last modified time | relevance | path

Searched refs:GetKeyType (Results 1 – 13 of 13) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_dsa.cc110 CHECK_NE(key_data->GetKeyType(), kKeyTypeSecret); in DoExport()
117 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport()
121 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
Dcrypto_rsa.cc205 CHECK_NE(key_data->GetKeyType(), kKeyTypeSecret); in RSA_Cipher()
266 CHECK_NE(key_data->GetKeyType(), kKeyTypeSecret); in DoExport()
275 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport()
279 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
351 CHECK_EQ(key_data->GetKeyType(), kKeyTypePublic); in DoCipher()
355 CHECK_EQ(key_data->GetKeyType(), kKeyTypePrivate); in DoCipher()
403 if (key->GetKeyType() == kKeyTypePrivate) { in ExportJWKRsaKey()
Dcrypto_keys.cc439 CHECK_EQ(key->GetKeyType(), kKeyTypeSecret); in ExportJWKSecretKey()
618 switch (key->GetKeyType()) { in ExportJWKInner()
750 CHECK_EQ(key->Data()->GetKeyType(), kKeyTypePrivate); in GetPrivateKeyFromJs()
814 CHECK_NE(key->Data()->GetKeyType(), kKeyTypeSecret); in GetPublicOrPrivateKeyFromJs()
848 switch (GetKeyType()) { in MemoryInfo()
873 KeyType KeyObjectData::GetKeyType() const { in GetKeyType() function in node::crypto::KeyObjectData
1049 args.GetReturnValue().Set(key->data_->GetKeyType()); in InitJWK()
1140 KeyType key_type = key->GetKeyType(); in Equals()
1141 CHECK_EQ(key_type, key2->GetKeyType()); in Equals()
1189 switch (data->GetKeyType()) { in GetKeyDetail()
[all …]
Dcrypto_dh.cc607 CHECK_NE(key_data->GetKeyType(), kKeyTypeSecret); in DoExport()
611 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport()
615 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
652 CHECK_EQ(our_key_object->Data()->GetKeyType(), kKeyTypePrivate); in Stateless()
655 CHECK_NE(their_key_object->Data()->GetKeyType(), kKeyTypeSecret); in Stateless()
687 if (private_key->Data()->GetKeyType() != kKeyTypePrivate || in AdditionalConfig()
688 public_key->Data()->GetKeyType() != kKeyTypePublic) { in AdditionalConfig()
Dcrypto_ec.cc472 if (private_key->Data()->GetKeyType() != kKeyTypePrivate || in AdditionalConfig()
473 public_key->Data()->GetKeyType() != kKeyTypePublic) { in AdditionalConfig()
642 switch (key_data->GetKeyType()) { in EC_Raw_Export()
661 if (key_data->GetKeyType() != kKeyTypePublic) in EC_Raw_Export()
697 CHECK_NE(key_data->GetKeyType(), kKeyTypeSecret); in DoExport()
703 if (key_data->GetKeyType() != kKeyTypePrivate) in DoExport()
707 if (key_data->GetKeyType() != kKeyTypePublic) in DoExport()
833 if (key->GetKeyType() == kKeyTypePrivate) { in ExportJWKEcKey()
886 if (key->GetKeyType() == kKeyTypePrivate) { in ExportJWKEdKey()
Dcrypto_x509.cc410 CHECK_EQ(key->Data()->GetKeyType(), kKeyTypePrivate); in CheckPrivateKey()
427 CHECK_EQ(key->Data()->GetKeyType(), kKeyTypePublic); in Verify()
Dcrypto_keys.h140 KeyType GetKeyType() const;
Dcrypto_aes.cc42 CHECK_EQ(key_data->GetKeyType(), kKeyTypeSecret); in AES_Cipher()
Dcrypto_context.cc581 if (key->GetKeyType() != KeyType::kKeyTypePrivate) { in UseKey()
/third_party/node/deps/v8/src/ic/
Dic-inl.h40 nexus()->GetKeyType() != IcCheckType::kElement)); in vector_needs_update()
/third_party/node/deps/v8/src/objects/
Dfeedback-vector.cc1136 if (GetKeyType() == IcCheckType::kProperty) return STANDARD_LOAD; in GetKeyedAccessLoadMode()
1205 if (GetKeyType() == IcCheckType::kProperty) return mode; in GetKeyedAccessStoreMode()
1263 IcCheckType FeedbackNexus::GetKeyType() const { in GetKeyType() function in v8::internal::FeedbackNexus
Dfeedback-vector.h799 IcCheckType GetKeyType() const;
/third_party/node/deps/v8/src/compiler/
Djs-heap-broker.cc524 } else if (nexus.GetKeyType() == IcCheckType::kElement && !maps.empty()) { in ReadFeedbackForPropertyAccess()