/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 85 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 90 bool FindUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 93 bool RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 97 static void StoreDefaultNewKeyParams(keymaster_algorithm_t algorithm, 100 keymaster_algorithm_t* algorithm); 111 keymaster_algorithm_t** algorithms, 114 keymaster_algorithm_t algorithm, 119 keymaster_algorithm_t algorithm, 124 keymaster_algorithm_t algorithm, 129 keymaster_algorithm_t algorithm, [all …]
|
D | keymaster_context.h | 90 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0; 91 virtual OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 93 virtual keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const = 0; 166 virtual EVP_PKEY* AttestationKey(keymaster_algorithm_t algorithm, 173 virtual keymaster_cert_chain_t* AttestationChain(keymaster_algorithm_t algorithm,
|
D | soft_keymaster_context.h | 63 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override; 64 OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 66 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const override; 83 EVP_PKEY* AttestationKey(keymaster_algorithm_t algorithm, 85 keymaster_cert_chain_t* AttestationChain(keymaster_algorithm_t algorithm,
|
D | asymmetric_key_factory.h | 42 virtual keymaster_algorithm_t keymaster_key_type() const = 0;
|
D | rsa_key_factory.h | 46 keymaster_algorithm_t keymaster_key_type() const override { return KM_ALGORITHM_RSA; } in keymaster_key_type()
|
D | ec_key_factory.h | 31 keymaster_algorithm_t keymaster_key_type() const override { return KM_ALGORITHM_EC; } in keymaster_key_type()
|
D | android_keymaster_messages.h | 143 keymaster_algorithm_t algorithm; 170 keymaster_algorithm_t algorithm; 228 struct SupportedAlgorithmsResponse : public SupportedResponse<keymaster_algorithm_t> { 230 : SupportedResponse<keymaster_algorithm_t>(ver) {}
|
D | keymaster_tags.h | 184 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
|
/system/keymaster/ |
D | attestation_record_test.cpp | 44 KeyFactory* GetKeyFactory(keymaster_algorithm_t /* algorithm */) const override { in GetKeyFactory() 47 OperationFactory* GetOperationFactory(keymaster_algorithm_t /* algorithm */, in GetOperationFactory() argument 51 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* /* algorithms_count */) const override { in GetSupportedAlgorithms() 81 EVP_PKEY* AttestationKey(keymaster_algorithm_t /* algorithm */, in AttestationKey() argument 85 keymaster_cert_chain_t* AttestationChain(keymaster_algorithm_t /* algorithm */, in AttestationChain() argument
|
D | openssl_utils.cpp | 71 static int convert_to_evp(keymaster_algorithm_t algorithm) { in convert_to_evp() 83 keymaster_algorithm_t expected_algorithm, in convert_pkcs8_blob_to_evp() 108 keymaster_algorithm_t expected_algorithm, in KeyMaterialToEvpKey()
|
D | android_keymaster.cpp | 85 bool check_supported(const KeymasterContext& context, keymaster_algorithm_t algorithm, in check_supported() 112 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); in SupportedAlgorithms() 122 void GetSupported(const KeymasterContext& context, keymaster_algorithm_t algorithm, in GetSupported() 191 keymaster_algorithm_t algorithm; in GenerateKey() 226 keymaster_algorithm_t* algorithm, keymaster_error_t* error) { in GetKeyFactory() 253 keymaster_algorithm_t key_algorithm; in BeginOperation() 371 keymaster_algorithm_t algorithm; in ExportKey() 431 keymaster_algorithm_t algorithm; in ImportKey() 479 keymaster_algorithm_t algorithm; in LoadKey()
|
D | openssl_utils.h | 86 keymaster_algorithm_t expected_algorithm, 91 keymaster_algorithm_t expected_algorithm,
|
D | operation.h | 41 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() 44 keymaster_algorithm_t algorithm;
|
D | aes_key.h | 33 keymaster_algorithm_t registry_key() const { return KM_ALGORITHM_AES; } in registry_key()
|
D | soft_keymaster_device.cpp | 108 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests() 134 keymaster_algorithm_t sig_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, KM_ALGORITHM_HMAC}; in map_digests() 146 keymaster_algorithm_t crypt_algorithms[] = {KM_ALGORITHM_RSA}; in map_digests() 411 keymaster_algorithm_t** algorithms, in get_supported_algorithms() 434 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms))); in get_supported_algorithms() 443 keymaster_algorithm_t algorithm, in get_supported_block_modes() 479 keymaster_algorithm_t algorithm, in get_supported_padding_modes() 515 keymaster_algorithm_t algorithm, in get_supported_digests() 550 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats() 583 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats() [all …]
|
D | soft_keymaster_context.cpp | 362 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 377 static keymaster_algorithm_t supported_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, 380 keymaster_algorithm_t* 386 OperationFactory* SoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory() 764 EVP_PKEY* SoftKeymasterContext::AttestationKey(keymaster_algorithm_t algorithm, in AttestationKey() 796 keymaster_cert_chain_t* SoftKeymasterContext::AttestationChain(keymaster_algorithm_t algorithm, in AttestationChain()
|
D | operation.cpp | 52 inline bool is_public_key_algorithm(keymaster_algorithm_t algorithm) { in is_public_key_algorithm()
|
D | asymmetric_key.cpp | 241 keymaster_algorithm_t sign_algorithm, in copy_attestation_chain() 269 keymaster_algorithm_t sign_algorithm; in GenerateAttestation()
|
D | android_keymaster_test_utils.cpp | 738 keymaster_algorithm_t** algorithms, in get_supported_algorithms() 743 keymaster_algorithm_t algorithm, in get_supported_block_modes() 751 keymaster_algorithm_t algorithm, in get_supported_padding_modes() 760 keymaster_algorithm_t algorithm, in get_supported_digests() 783 keymaster_algorithm_t algorithm, in get_supported_import_formats() 790 keymaster_algorithm_t algorithm, in get_supported_export_formats()
|
D | keymaster_tags.cpp | 187 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
|
D | rsa_key_factory.cpp | 167 keymaster_algorithm_t algorithm = KM_ALGORITHM_RSA; in UpdateImportKeyDescription()
|
D | ec_key_factory.cpp | 190 keymaster_algorithm_t algorithm = KM_ALGORITHM_EC; in UpdateImportKeyDescription()
|
D | keymaster_enforcement.cpp | 79 keymaster_algorithm_t algorithm; in is_public_key_algorithm()
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device.h | 94 keymaster_algorithm_t* algorithm);
|
D | trusty_keymaster_device.cpp | 209 keymaster_algorithm_t algorithm; in import_keypair() 231 keymaster_algorithm_t* algorithm) { in GetPkcs8KeyAlgorithm()
|