/system/keymint/boringssl/src/ |
D | err.rs | 22 | ffi::ERR_R_OVERFLOW => return ErrorCode::UnknownError, in map_openssl_err() 27 ffi::ERR_LIB_USER => ErrorCode::try_from(reason).unwrap_or(ErrorCode::UnknownError), in map_openssl_err() 36 ErrorCode::UnknownError in map_openssl_err() 55 _ => ErrorCode::UnknownError, in translate_evp_error() 62 _ => ErrorCode::UnknownError, in translate_asn1_error() 78 _ => ErrorCode::UnknownError, in translate_cipher_error() 93 _ => ErrorCode::UnknownError, in translate_pkcs8_error() 100 _ => ErrorCode::UnknownError, in translate_x509v3_error() 112 _ => ErrorCode::UnknownError, in translate_rsa_error()
|
D | ec.rs | 79 km_err!(UnknownError, "generated Ed25519 key of unexpected size: {:?}", e) in generate_ed25519_key() 93 km_err!(UnknownError, "generated X25519 key of unexpected size: {:?}", e) in generate_x25519_key() 165 Key::X25519(_) => Err(km_err!(UnknownError, "X25519 key not valid for signing")), in begin_sign() 219 UnknownError, in finish() 238 Key::X25519(_) => Err(km_err!(UnknownError, "X25519 not supported in cargo")), in finish() 239 Key::Ed25519(_) => Err(km_err!(UnknownError, "Ed25519 key not valid for agreement")), in finish() 292 return Err(km_err!(UnknownError, "no PCTX!")); in new() 423 return Err(km_err!(UnknownError, "no NIST group for curve25519 key")) in nist_key_to_group()
|
D | lib.rs | 40 return ErrorCode::UnknownError; in map_openssl_errstack() 49 ErrorCode::UnknownError in map_openssl_err()
|
D | rsa.rs | 142 km_err!(UnknownError, "Digest::None not allowed for RSA-OAEP msg digest") in finish() 145 km_err!(UnknownError, "Digest::None not allowed for RSA-OAEP MGF1 digest") in finish() 220 return Err(km_err!(UnknownError, "no PCTX!")); in new()
|
D | aes_cmac.rs | 98 return Err(km_err!(UnknownError, "Unexpected CMAC output size of {}", output_len)); in finish()
|
D | aes.rs | 264 UnknownError, in finish()
|
/system/keymint/ta/src/ |
D | rkp.rs | 56 .ok_or_else(|| km_err!(UnknownError, "attestation ID info not available"))?; in rpc_device_info_cbor() 60 .ok_or_else(|| km_err!(UnknownError, "boot info not available"))?; in rpc_device_info_cbor() 64 .ok_or_else(|| km_err!(UnknownError, "HAL info not available"))?; in rpc_device_info_cbor() 83 l => return Err(km_err!(UnknownError, "security level {:?} not supported", l)), in rpc_device_info_cbor()
|
D | lib.rs | 458 .map_err(|_e| km_err!(UnknownError, "wrong size output from HMAC-SHA256"))?, in key_id() 529 km_err!(UnknownError, "failed to encode root-of-trust: {:?}", e) in set_boot_info() 608 (None, error_rsp(ErrorCode::UnknownError as i32)) in process() 1018 .map_err(|_e| km_err!(UnknownError, "Failed to CBOR-encode RootOfTrust"))?; in get_root_of_trust() 1028 .map_err(|_e| km_err!(UnknownError, "Failed to CBOR-encode RootOfTrust")) in get_root_of_trust() 1151 UnknownError, in add_keymint_tags() 1190 ErrorCode::UnknownError in op_error_rsp()
|
D | cert.rs | 78 return Err(km_err!(UnknownError, "unexpected cert signing key type")); in tbs_certificate() 90 UnknownError, in tbs_certificate() 148 .map_err(|e| km_err!(UnknownError, "failed to parse certificate: {:?}", e))?; in extract_subject() 153 .map_err(|e| km_err!(UnknownError, "failed to DER-encode subject: {:?}", e))?; in extract_subject() 289 UnknownError, in attestation_extension() 310 .map_err(|_| km_err!(UnknownError, "invalid security level {:?}", security_level))?; in attestation_extension()
|
D | keys.rs | 101 chain.get(0).ok_or_else(|| km_err!(UnknownError, "empty attestation chain"))?, in get_signing_info() 204 _ => Err(km_err!(UnknownError, "unexpected cert signing key type")), in sign_cert_data() 661 .ok_or_else(|| km_err!(UnknownError, "no legacy key handler"))?; in upgrade_key()
|
D | tests.rs | 18 let rsp = error_rsp(ErrorCode::UnknownError as i32); in test_invalid_data()
|
D | operation.rs | 751 km_err!(UnknownError, "failed to perform HMAC on confirmation token: {:?}", e) in verify_confirmation_token() 853 UnknownError, in check_subsequent_auth()
|
/system/keymint/common/src/keyblob/ |
D | sdd_mem.rs | 43 None => Err(km_err!(UnknownError, "no factory secret available!")), in get_factory_reset_secret()
|
D | legacy.rs | 88 km_err!(UnknownError, "keyblob of format {:?} missing kdf_version", self.format) in serialize() 91 km_err!(UnknownError, "keyblob of format {:?} missing addl_info", self.format) in serialize()
|
/system/keymint/hal/src/ |
D | lib.rs | 40 ErrorCode::UnknownError as i32, in failed_cbor() 157 ErrorCode::UnknownError as i32, in channel_execute()
|
/system/keymint/common/src/ |
D | crypto.rs | 129 Err($crate::km_err!(UnknownError, "Expected explicit key but found opaque key!")) 473 return Err(km_err!(UnknownError, "overflow in hkdf")); in expand() 532 UnknownError, in ckdf()
|
/system/keymint/common/src/crypto/ |
D | ec.rs | 308 UnknownError, in coordinates_from_pub_key() 316 UnknownError, in coordinates_from_pub_key()
|
/system/keymint/wire/src/ |
D | keymint.rs | 255 UnknownError = -1000, enumerator
|