/system/keymaster/legacy_support/ |
D | rsa_keymaster1_key.cpp | 50 if (entry.enumerated == KM_DIGEST_NONE) { in UpdateToWorkAroundUnsupportedDigests() 52 } else if (!is_supported(entry.enumerated)) { in UpdateToWorkAroundUnsupportedDigests() 53 LOG_D("Found request for unsupported digest %u", entry.enumerated); in UpdateToWorkAroundUnsupportedDigests() 59 switch (entry.enumerated) { in UpdateToWorkAroundUnsupportedDigests()
|
D | ec_keymaster1_key.cpp | 49 if (entry.enumerated == KM_DIGEST_NONE) { in UpdateToWorkAroundUnsupportedDigests() 51 } else if (!is_supported(entry.enumerated)) { in UpdateToWorkAroundUnsupportedDigests() 52 LOG_D("Found request for unsupported digest %u", entry.enumerated); in UpdateToWorkAroundUnsupportedDigests()
|
D | rsa_keymaster1_operation.cpp | 56 begin_params[pos].enumerated = KM_DIGEST_NONE; in Begin() 62 switch (begin_params[pos].enumerated) { in Begin() 67 begin_params[pos].enumerated = KM_PAD_NONE; in Begin()
|
D | keymaster1_legacy_support.cpp | 137 if (!contains(supported_digests->second, entry.enumerated)) { in findUnsupportedDigest() 138 … LOG(WARNING) << "Digest " << entry.enumerated << " requested but not supported by KM1 hal"; in findUnsupportedDigest() 182 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting() 206 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting()
|
D | ecdsa_keymaster1_operation.cpp | 53 begin_params[pos].enumerated = KM_DIGEST_NONE; in Begin()
|
/system/media/audio_route/ |
D | audio_route.c | 36 int *enumerated; member 143 ALOGE(" id=%d value=%d", j, path->setting[i].value.enumerated[j]); 339 path->setting[path_index].value.enumerated[0] = mixer_value->value; in path_add_value() 351 path->setting[path_index].value.enumerated[i] = mixer_value->value; in path_add_value() 361 path->setting[path_index].value.enumerated[mixer_value->index] = mixer_value->value; in path_add_value() 543 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag() 555 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag() 617 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state() 676 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer() 677 != ar->mixer_state[i].new_value.enumerated[j]) { in audio_route_update_mixer() [all …]
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 339 buf = append_uint32_to_buf(buf, end, param.enumerated); in serialize() 376 return copy_uint32_from_buf(buf_ptr, end, ¶m->enumerated); in deserialize() 573 *val = elems_[pos].enumerated; in GetTagValueEnum() 588 *val = elems_[pos].enumerated; in GetTagValueEnumRep() 669 if (entry.tag == tag && entry.enumerated == value) in ContainsEnumValue()
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 53 os << " Enum: " << param.enumerated; in operator <<() 100 return a.enumerated == b.enumerated; in operator ==() 742 if (!is_supported(static_cast<keymaster_digest_t>(params->params[i].enumerated))) in all_digests_supported() 840 if (alg_ptr->enumerated == KM_ALGORITHM_HMAC && !all_digests_supported(params)) in generate_key() 862 if (alg_ptr->enumerated == KM_ALGORITHM_HMAC && !all_digests_supported(params)) in import_key()
|
D | authorization_set_test.cpp | 83 EXPECT_EQ(KM_ALGORITHM_RSA, set[pos].enumerated); in TEST() 114 EXPECT_EQ(KM_PURPOSE_SIGN, set[pos].enumerated); in TEST() 118 EXPECT_EQ(KM_PURPOSE_VERIFY, set[pos].enumerated); in TEST() 140 EXPECT_EQ(KM_PURPOSE_SIGN, set[0].enumerated); in TEST()
|
D | android_keymaster_test_utils.h | 61 return pos != -1 && static_cast<KeymasterEnum>(set[pos].enumerated) == val; in contains() 69 if (static_cast<KeymasterEnum>(set[pos].enumerated) == val) in contains()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 381 *value = static_cast<KeymasterEnum>(params.params[i].enumerated); in FindTagValue() 680 if (!contains(supported_digests->second, entry.enumerated)) { in FindUnsupportedDigest() 681 LOG_I("Digest %d requested but not supported by module %s", entry.enumerated, in FindUnsupportedDigest() 683 *unsupported = static_cast<keymaster_digest_t>(entry.enumerated); in FindUnsupportedDigest() 730 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting()
|
/system/security/keystore/ |
D | legacy_keymaster_device_wrapper.cpp | 175 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 167 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 179 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
|
D | AndroidKeymaster4Device.cpp | 168 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 60 return param.enumerated; in get_uint32_value()
|