/system/security/keystore2/tests/ |
D | keystore2_client_rsa_key_tests.rs | 117 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in perform_rsa_sign_key_op_success() localVariable 153 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in perform_rsa_sign_key_op_failure() localVariable 191 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in create_rsa_encrypt_decrypt_key_op_success() localVariable 1537 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_generate_signing_key_padding_pss_fail() localVariable 1569 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_generate_key_with_oaep_padding_fail() localVariable 1600 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_generate_keys() localVariable 1629 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_encrypt_key_op_invalid_purpose() localVariable 1658 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_sign_key_op_invalid_purpose() localVariable 1687 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_key_unsupported_purpose() localVariable 1717 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_encrypt_key_unsupported_padding() localVariable [all …]
|
D | keystore2_client_aes_key_tests.rs | 91 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_ecb_cbc_generate_key() localVariable 122 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_ctr_gcm_generate_key_success() localVariable 152 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_ctr_gcm_generate_key_fails_incompatible() localVariable 177 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_key_fails_unsupported_key_size() localVariable 198 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_gcm_key_fails_missing_min_mac_len() localVariable 219 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_key_op_fails_multi_block_modes() localVariable 267 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_key_op_fails_multi_padding_modes() localVariable 316 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_key_op_fails_incompatible_padding() localVariable 348 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_key_op_fails_incompatible_blockmode() localVariable 380 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_aes_gcm_op_fails_missing_mac_len() localVariable [all …]
|
D | keystore2_client_import_keys_tests.rs | 137 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_success() localVariable 169 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_determine_key_size_and_pub_exponent() localVariable 198 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_fails_with_keysize_param_mismatch_error() localVariable 231 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_fails_with_public_exponent_param_mismatch_error() localVariable 265 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_rsa_import_key_with_multipurpose_fails_incompt_purpose_error() localVariable 303 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_import_ec_key_success() localVariable 334 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ec_import_key_fails_with_mismatch_curve_error() localVariable 364 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_import_aes_key_success() localVariable 378 let sec_level = key_generations::map_ks_error( in keystore2_import_3des_key_success() localVariable 396 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_import_hmac_key_success() localVariable [all …]
|
D | keystore2_client_delete_key_tests.rs | 31 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_success() localVariable 74 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_with_blob_domain_fail() localVariable 96 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_blob_success() localVariable 117 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_fails_with_missing_key_blob() localVariable 135 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_delete_key_blob_fail() localVariable
|
D | keystore2_client_attest_key_tests.rs | 44 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_rsa_signing_key_success() localVariable 92 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_rsa_encrypt_key_success() localVariable 141 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_ec_key_success() localVariable 181 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_rsa_signing_key_with_ec_25519_key_success() localVariable 232 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_generate_rsa_attest_key_with_multi_purpose_fail() localVariable 275 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ec_attest_key_with_multi_purpose_fail() localVariable 312 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_key_fails_missing_challenge() localVariable 355 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_rsa_key_with_non_attest_key_fails_incompat_purpose_error() localVariable 397 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_rsa_key_with_symmetric_key_fails_sys_error() localVariable 442 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_attest_symmetric_key_fail_sys_error() localVariable
|
D | keystore2_client_ec_key_tests.rs | 79 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in perform_ec_sign_key_op_success() localVariable 104 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in perform_ec_sign_key_op_with_none_or_md5_digest() localVariable 203 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_get_key_entry_blob_fail() localVariable 228 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_generate_key_invalid_domain() localVariable 248 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_generate_ec_key_missing_curve() localVariable 284 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_generate_ec_key_25519_multi_purpose() localVariable 318 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ec_25519_generate_key_success() localVariable 354 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ec_25519_generate_key_fail() localVariable 393 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_create_op_with_incompatible_key_digest() localVariable 483 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_generate_key_with_blob_domain() localVariable
|
D | keystore2_client_hmac_key_tests.rs | 73 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_key_op_success() localVariable 100 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_keys_fails_expect_unsupported_key_size() localVariable 132 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_keys_fails_expect_unsupported_min_mac_length() localVariable 163 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_key_multi_digests_fails_expect_unsupported_digest() localVariable 197 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_key_no_digests_fails_expect_unsupported_digest() localVariable 231 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_gen_key_with_none_digest_fails_expect_unsupported_digest() localVariable 257 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_key_op_with_mac_len_greater_than_digest_len_fail() localVariable 288 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_hmac_key_op_with_mac_len_less_than_min_mac_len_fail() localVariable
|
D | keystore2_client_key_id_domain_tests.rs | 37 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_generate_key_with_key_id_domain_expect_sys_error() localVariable 57 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_find_key_with_key_id_as_domain() localVariable 114 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_key_id_alias_rebind_verify_by_alias() localVariable 181 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_key_id_alias_rebind_verify_by_key_id() localVariable
|
D | keystore2_client_3des_key_tests.rs | 87 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_ecb_cbc_generate_key_success() localVariable 103 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_fails_unsupported_key_size() localVariable 126 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_fails_missing_padding() localVariable 170 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_encrypt_fails_invalid_input_length() localVariable 208 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_3des_key_fails_unsupported_block_mode() localVariable
|
D | keystore2_client_key_agreement_tests.rs | 93 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in perform_ec_key_agreement() localVariable 127 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ec_25519_agree_key_success() localVariable 153 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ec_agree_key_with_different_curves_fail() localVariable
|
D | keystore2_client_grant_key_tests.rs | 41 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in generate_ec_key_and_grant_to_user() localVariable 195 let sec_level = in keystore2_grant_get_info_use_key_perm() localVariable 257 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_grant_delete_key_success() localVariable 331 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_grant_key_fails_with_permission_denied() localVariable 405 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_grant_key_fails_with_grant_perm_expect_perm_denied() localVariable 463 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ungrant_key_success() localVariable 533 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ungrant_fails_with_non_existing_key_expect_key_not_found_error() localVariable 620 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_grant_key_to_multi_users_success() localVariable 646 let sec_level = in keystore2_grant_key_to_multi_users_success() localVariable 684 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_grant_key_to_multi_users_delete_fails_with_key_not_found_error() localVariable [all …]
|
D | keystore2_client_list_entries_tests.rs | 66 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_list_entries_success() localVariable 123 let sec_level = in keystore2_list_entries_success() localVariable 204 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_list_entries_with_long_aliases_success() localVariable
|
D | keystore2_client_update_subcomponent_tests.rs | 35 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_update_subcomponent_success() localVariable 173 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_update_subcomponent_fails_permission_denied() localVariable
|
D | keystore2_client_operation_tests.rs | 301 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in keystore2_ops_prune_test() localVariable
|
D | keystore2_client_test_utils.rs | 127 let sec_level = keystore2.getSecurityLevel(SecurityLevel::TRUSTED_ENVIRONMENT).unwrap(); in create_signing_operation() localVariable
|
/system/security/keystore2/tests/legacy_blobs/ |
D | keystore2_legacy_blob_tests.rs | 163 let sec_level = keystore2 in keystore2_encrypted_characteristics() localVariable 420 let sec_level = keystore2 in keystore2_encrypted_certificates() localVariable
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 123 std::shared_ptr<ks2::IKeystoreSecurityLevel> sec_level; in GetSecurityLevelInterface() local 257 auto sec_level = GetSecurityLevelInterface(keystore, securityLevel); in loadOrCreateAndVerifyEncryptionKey() local 310 auto sec_level = GetSecurityLevelInterface(keystore, securityLevel); in loadOrCreateAndVerifyAuthenticationKey() local 554 auto sec_level = in TestKey() local 761 auto sec_level = GetSecurityLevelInterface(keystore, securityLevel); in GenerateKey() local
|
/system/security/keystore2/src/ |
D | rkpd_client.rs | 608 let sec_level = SecurityLevel::TRUSTED_ENVIRONMENT; in test_get_rkpd_attestation_key_same_caller() localVariable 622 let sec_level = SecurityLevel::TRUSTED_ENVIRONMENT; in test_get_rkpd_attestation_key_different_caller() localVariable 642 let sec_level = SecurityLevel::TRUSTED_ENVIRONMENT; in test_store_rkpd_attestation_key() localVariable
|
D | utils.rs | 157 let sec_level = aidl_key_char.securityLevel; in key_characteristics_to_internal() localVariable
|
D | km_compat.rs | 320 sec_level: SecurityLevel, field
|
D | operation.rs | 186 sec_level: SecurityLevel, field
|
D | legacy_importer.rs | 420 let sec_level = if is_strongbox { in get_km_uuid() localVariable
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 244 auto sec_level = response.iSecurityLevel; in keyStore2Sign() local
|
/system/security/keystore-engine/ |
D | keystore2_engine.cpp | 200 auto sec_level = key_backend.i_keystore_security_level_; in keystore2_sign() local
|
/system/keymint/ta/src/ |
D | cert.rs | 309 let sec_level = SecurityLevel::try_from(security_level as u32) in attestation_extension() localVariable 1204 let sec_level = SecurityLevel::TrustedEnvironment; in test_attest_ext_encode_decode() localVariable
|