Home
last modified time | relevance | path

Searched refs:KM_ERROR_UNEXPECTED_NULL_POINTER (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp375 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_supported_algorithms()
406 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_supported_block_modes()
440 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_supported_padding_modes()
474 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_supported_digests()
505 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_supported_import_formats()
536 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_supported_export_formats()
583 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in add_rng_entropy()
600 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in add_rng_entropy()
727 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in generate_key()
838 if (!dev) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_key_characteristics()
[all …]
H A Dkeymaster2_passthrough_context.cpp65 if (!upgraded_key) return KM_ERROR_UNEXPECTED_NULL_POINTER; in UpgradeKeyBlob()
H A Dsoft_keymaster_context.cpp66 if (!keymaster1_device) return KM_ERROR_UNEXPECTED_NULL_POINTER; in SetHardwareDevice()
H A Dpure_soft_keymaster_context.cpp408 if (!wrapped_key_material) return KM_ERROR_UNEXPECTED_NULL_POINTER; in UnwrapKey()
/aosp12/system/keymaster/km_openssl/
H A Dcertificate_utils.cpp66 if (name_out == nullptr) return KM_ERROR_UNEXPECTED_NULL_POINTER; in make_name_from_str()
84 if (!name_out || !name.data) return KM_ERROR_UNEXPECTED_NULL_POINTER; in make_name_from_der()
97 if (name == nullptr || name_out == nullptr) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_common_name()
111 if (!cert_params) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_certificate_params()
178 if (usage_extension_out == nullptr) return KM_ERROR_UNEXPECTED_NULL_POINTER; in make_key_usage_extension()
250 if (!cert_out || !issuer) return KM_ERROR_UNEXPECTED_NULL_POINTER; in make_cert_rump()
331 if (!certificate || !signing_key) return KM_ERROR_UNEXPECTED_NULL_POINTER; in sign_cert()
H A Drsa_key_factory.cpp102 if (!cert_chain) return KM_ERROR_UNEXPECTED_NULL_POINTER; in GenerateKey()
142 if (!cert_chain) return KM_ERROR_UNEXPECTED_NULL_POINTER; in ImportKey()
H A Dec_key_factory.cpp132 if (!cert_chain) return KM_ERROR_UNEXPECTED_NULL_POINTER; in GenerateKey()
170 if (!cert_chain) return KM_ERROR_UNEXPECTED_NULL_POINTER; in ImportKey()
H A Dattestation_utils.cpp175 *error = KM_ERROR_UNEXPECTED_NULL_POINTER; in get_issuer_subject()
249 *error = KM_ERROR_UNEXPECTED_NULL_POINTER; in AttestKeyInfo()
H A Dwrapped_key.cpp88 return KM_ERROR_UNEXPECTED_NULL_POINTER; in parse_wrapped_key()
H A Dopenssl_utils.cpp126 return KM_ERROR_UNEXPECTED_NULL_POINTER; in GetEcdsa256KeyFromCert()
H A Dattestation_record.cpp107 KM_ERROR_UNEXPECTED_NULL_POINTER); in insert_integer()
262 ASSERT_OR_RETURN_ERROR(submod, KM_ERROR_UNEXPECTED_NULL_POINTER); in build_eat_submod()
492 ASSERT_OR_RETURN_ERROR(record, KM_ERROR_UNEXPECTED_NULL_POINTER); in build_auth_list()
803 ASSERT_OR_RETURN_ERROR(eat_token, KM_ERROR_UNEXPECTED_NULL_POINTER); in build_eat_record()
973 ASSERT_OR_RETURN_ERROR(asn1_key_desc && asn1_key_desc_len, KM_ERROR_UNEXPECTED_NULL_POINTER); in build_attestation_record()
1593 ASSERT_OR_RETURN_ERROR(set_builder, KM_ERROR_UNEXPECTED_NULL_POINTER); in parse_submod_values()
H A Dsoft_keymaster_enforcement.cpp97 if (!output) return KM_ERROR_UNEXPECTED_NULL_POINTER; in hmacSha256()
/aosp12/hardware/libhardware/include/hardware/
H A Dkeymaster_defs.h470 KM_ERROR_UNEXPECTED_NULL_POINTER = -32, enumerator
/aosp12/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterDefs.java268 public static final int KM_ERROR_UNEXPECTED_NULL_POINTER = field in KeymasterDefs
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt51020 Landroid/security/keymaster/KeymasterDefs;->KM_ERROR_UNEXPECTED_NULL_POINTER:I