Home
last modified time | relevance | path

Searched refs:AsymmetricKeyUsage (Results 1 – 7 of 7) sorted by relevance

/system/tpm/trunks/
Dtpm_utility.h42 enum AsymmetricKeyUsage { enum
179 virtual TPM_RC ImportRSAKey(AsymmetricKeyUsage key_type,
202 virtual TPM_RC CreateRSAKeyPair(AsymmetricKeyUsage key_type,
Dmock_tpm_utility.h78 MOCK_METHOD7(ImportRSAKey, TPM_RC(AsymmetricKeyUsage,
85 MOCK_METHOD10(CreateRSAKeyPair, TPM_RC(AsymmetricKeyUsage,
Dtrunks_client_test.cc109 TpmUtility::AsymmetricKeyUsage::kSignKey, 2048, 0x10001, in SignTest()
150 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, in DecryptTest()
181 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, modulus, 0x10001, in ImportTest()
208 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, in AuthChangeTest()
251 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, in VerifyKeyCreationTest()
260 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, in VerifyKeyCreationTest()
433 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, 2048, 0x10001, in PolicyAuthValueTest()
562 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, 2048, 0x10001, in PolicyAndTest()
742 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, 2048, 0x10001, in PolicyOrTest()
1040 TpmUtility::AsymmetricKeyUsage::kSignKey, in LoadSigningKey()
Dtpm_utility_impl.h90 TPM_RC ImportRSAKey(AsymmetricKeyUsage key_type,
97 TPM_RC CreateRSAKeyPair(AsymmetricKeyUsage key_type,
Dtpm_utility_impl.cc771 TPM_RC TpmUtilityImpl::ImportRSAKey(AsymmetricKeyUsage key_type, in ImportRSAKey()
795 case AsymmetricKeyUsage::kDecryptKey: in ImportRSAKey()
798 case AsymmetricKeyUsage::kSignKey: in ImportRSAKey()
801 case AsymmetricKeyUsage::kDecryptAndSignKey: in ImportRSAKey()
855 TPM_RC TpmUtilityImpl::CreateRSAKeyPair(AsymmetricKeyUsage key_type, in CreateRSAKeyPair()
885 case AsymmetricKeyUsage::kDecryptKey: in CreateRSAKeyPair()
888 case AsymmetricKeyUsage::kSignKey: in CreateRSAKeyPair()
891 case AsymmetricKeyUsage::kDecryptAndSignKey: in CreateRSAKeyPair()
Dtpm_utility_test.cc1251 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1307 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1324 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1340 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1357 TpmUtility::AsymmetricKeyUsage::kDecryptKey, in TEST_F()
1379 TpmUtility::AsymmetricKeyUsage::kDecryptAndSignKey, 2048, 0x10001, in TEST_F()
1405 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, "password", in TEST_F()
1427 TpmUtility::AsymmetricKeyUsage::kSignKey, 2048, 0x10001, key_auth, in TEST_F()
1450 TpmUtility::AsymmetricKeyUsage::kDecryptKey, 2048, 0x10001, "password", in TEST_F()
1461 TpmUtility::AsymmetricKeyUsage::kSignKey, 2048, 0x10001, "password", in TEST_F()
[all …]
Dtrunks_factory_for_test.cc241 TPM_RC ImportRSAKey(AsymmetricKeyUsage key_type, in ImportRSAKey()
252 TPM_RC CreateRSAKeyPair(AsymmetricKeyUsage key_type, in CreateRSAKeyPair()