| /system/keymaster/include/keymaster/ |
| D | soft_keymaster_device.h | 84 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 89 bool FindUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 92 bool RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 96 static void StoreDefaultNewKeyParams(keymaster_algorithm_t algorithm, 99 keymaster_algorithm_t* algorithm); 110 keymaster_algorithm_t** algorithms, 113 keymaster_algorithm_t algorithm, 118 keymaster_algorithm_t algorithm, 123 keymaster_algorithm_t algorithm, 128 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, 174 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 | 175 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() 425 keymaster_algorithm_t algorithm; in ImportKey() 473 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 | soft_keymaster_device.cpp | 83 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests() 106 keymaster_algorithm_t sig_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC}; in map_digests() 115 keymaster_algorithm_t crypt_algorithms[] = {KM_ALGORITHM_RSA}; in map_digests() 339 bool FindAlgorithm(const keymaster_key_param_set_t& params, keymaster_algorithm_t* algorithm) { in FindAlgorithm() 342 *algorithm = static_cast<keymaster_algorithm_t>(params.params[i].enumerated); in FindAlgorithm() 350 keymaster_algorithm_t* algorithm) { in GetAlgorithm() 401 keymaster_algorithm_t** algorithms, in get_supported_algorithms() 424 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms))); in get_supported_algorithms() 433 keymaster_algorithm_t algorithm, in get_supported_block_modes() 469 keymaster_algorithm_t algorithm, in get_supported_padding_modes() [all …]
|
| D | aes_key.h | 33 keymaster_algorithm_t registry_key() const { return KM_ALGORITHM_AES; } in registry_key()
|
| D | soft_keymaster_context.cpp | 364 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 379 static keymaster_algorithm_t supported_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, 382 keymaster_algorithm_t* 388 OperationFactory* SoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory() 751 EVP_PKEY* SoftKeymasterContext::AttestationKey(keymaster_algorithm_t algorithm, in AttestationKey() 783 keymaster_cert_chain_t* SoftKeymasterContext::AttestationChain(keymaster_algorithm_t algorithm, in AttestationChain()
|
| D | keymaster_tags.cpp | 160 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
|
| D | operation.cpp | 52 inline bool is_public_key_algorithm(keymaster_algorithm_t algorithm) { in is_public_key_algorithm()
|
| D | android_keymaster_test_utils.cpp | 745 keymaster_algorithm_t** algorithms, in get_supported_algorithms() 750 keymaster_algorithm_t algorithm, in get_supported_block_modes() 758 keymaster_algorithm_t algorithm, in get_supported_padding_modes() 767 keymaster_algorithm_t algorithm, in get_supported_digests() 790 keymaster_algorithm_t algorithm, in get_supported_import_formats() 797 keymaster_algorithm_t algorithm, in get_supported_export_formats()
|
| D | asymmetric_key.cpp | 241 keymaster_algorithm_t sign_algorithm, in copy_attestation_chain() 269 keymaster_algorithm_t sign_algorithm; in GenerateAttestation()
|
| D | rsa_key_factory.cpp | 161 keymaster_algorithm_t algorithm = KM_ALGORITHM_RSA; in UpdateImportKeyDescription()
|
| D | ec_key_factory.cpp | 178 keymaster_algorithm_t algorithm = KM_ALGORITHM_EC; in UpdateImportKeyDescription()
|
| D | keymaster_enforcement.cpp | 79 keymaster_algorithm_t algorithm; in is_public_key_algorithm()
|
| /system/security/keystore/ |
| D | auth_token_table.cpp | 63 inline bool is_secret_key_operation(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose) { in is_secret_key_operation() 73 keymaster_algorithm_t algorithm = KM_ALGORITHM_AES; in KeyRequiresAuthentication() 80 keymaster_algorithm_t algorithm = KM_ALGORITHM_AES; in KeyRequiresAuthPerOperation()
|
| D | keystore_client_impl.cpp | 476 keymaster_algorithm_t algorithm = KM_ALGORITHM_RSA; in verifyEncryptionKeyAttributes() 521 keymaster_algorithm_t algorithm = KM_ALGORITHM_RSA; in verifyAuthenticationKeyAttributes()
|