Home
last modified time | relevance | path

Searched refs:V4_0 (Results 1 – 25 of 39) sorted by relevance

12

/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
Dkeymaster_tags.h26 using V4_0::Algorithm;
27 using V4_0::BlockMode;
28 using V4_0::Digest;
29 using V4_0::EcCurve;
30 using V4_0::HardwareAuthenticatorType;
31 using V4_0::HardwareAuthToken;
32 using V4_0::HmacSharingParameters;
33 using V4_0::KeyBlobUsageRequirements;
34 using V4_0::KeyCharacteristics;
35 using V4_0::KeyFormat;
[all …]
DKeymaster3.h52 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in getHmacSharingParameters()
58 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in computeSharedHmac()
65 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}); in verifyAuthorization()
69 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override;
85 _hidl_cb(V4_0::ErrorCode::UNIMPLEMENTED, {}, {}); in importWrappedKey()
98 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override;
99 Return<V4_0::ErrorCode> deleteAllKeys() override;
100 Return<V4_0::ErrorCode> destroyAttestationIds() override;
111 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override;
Dauthorization_set.h25 using V4_0::AuthorizationSet;
26 using V4_0::AuthorizationSetBuilder;
27 using V4_0::KeyParameter;
DKeymaster4.h32 using WrappedIKeymasterDevice = V4_0::IKeymasterDevice;
34 Keymaster4(sp<V4_0::IKeymasterDevice> km4_0_dev, const hidl_string& instanceName) in Keymaster4()
68 Return<V4_0::ErrorCode> addRngEntropy(const hidl_vec<uint8_t>& data) override { in addRngEntropy()
117 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override { in deleteKey()
121 Return<V4_0::ErrorCode> deleteAllKeys() override { return km4_0_dev_->deleteAllKeys(); } in deleteAllKeys()
123 Return<V4_0::ErrorCode> destroyAttestationIds() override { in destroyAttestationIds()
148 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override { in abort()
172 sp<V4_0::IKeymasterDevice> km4_0_dev_;
Dkeymaster_utils.h23 using V4_0::support::blob2hidlVec;
24 using V4_0::support::hidlVec2AuthToken;
Dattestation_record.h29 using V4_0::kAttestionRecordOid;
30 using V4_0::keymaster_verified_boot_t;
/hardware/interfaces/audio/4.0/config/api/
Dcurrent.txt2 package audio.policy.configuration.V4_0 {
11 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_AMBI…
12 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_ANLG…
13 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_AUX_…
14 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BACK…
15 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BLUE…
16 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BLUE…
17 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BLUE…
18 …enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BUIL…
19 … enum_constant public static final audio.policy.configuration.V4_0.AudioDevice AUDIO_DEVICE_IN_BUS;
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dopenssl_utils.h42 inline const EVP_MD* openssl_digest(android::hardware::keymaster::V4_0::Digest digest) { in openssl_digest()
44 case android::hardware::keymaster::V4_0::Digest::NONE: in openssl_digest()
46 case android::hardware::keymaster::V4_0::Digest::MD5: in openssl_digest()
48 case android::hardware::keymaster::V4_0::Digest::SHA1: in openssl_digest()
50 case android::hardware::keymaster::V4_0::Digest::SHA_2_224: in openssl_digest()
52 case android::hardware::keymaster::V4_0::Digest::SHA_2_256: in openssl_digest()
54 case android::hardware::keymaster::V4_0::Digest::SHA_2_384: in openssl_digest()
56 case android::hardware::keymaster::V4_0::Digest::SHA_2_512: in openssl_digest()
Dattestation_record.h25 namespace V4_0 {
Dkeymaster_utils.h27 namespace V4_0 {
/hardware/interfaces/keymaster/4.1/vts/functional/
DKeymaster4_1HidlTest.cpp32 V4_0::ErrorCode result = Begin(operation, key_blob, in_params, &begin_out_params, &op_handle_); in ProcessMessage()
34 if (result != V4_0::ErrorCode::OK) { in ProcessMessage()
44 if (result != V4_0::ErrorCode::OK) { in ProcessMessage()
53 op_handle_ = V4_0::test::kOpHandleSentinel; in ProcessMessage()
DKeymaster4_1HidlTest.h26 using V4_0::test::HidlBuf;
28 class Keymaster4_1HidlTest : public V4_0::test::KeymasterHidlTest {
30 using super = V4_0::test::KeymasterHidlTest;
32 ErrorCode convert(V4_0::ErrorCode error_code) { return static_cast<ErrorCode>(error_code); } in convert()
149 return param.tag == static_cast<V4_0::Tag>(typedTag); in contains()
DDeviceUniqueAttestationTest.cpp26 namespace android::hardware::keymaster::V4_0 { namespace
113 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_VERIFIED); in check_root_of_trust()
116 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_SELF_SIGNED); in check_root_of_trust()
119 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_UNVERIFIED); in check_root_of_trust()
122 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_FAILED); in check_root_of_trust()
124 EXPECT_EQ(verified_boot_state, V4_0::KM_VERIFIED_BOOT_UNVERIFIED); in check_root_of_trust()
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp29 V4_0::ErrorCode convert(V3_0::ErrorCode error) { in convert()
30 return static_cast<V4_0::ErrorCode>(error); in convert()
52 converted.tag = static_cast<V4_0::Tag>(param.tag); in convert()
88 converted[params.size()].blob = V4_0::support::authToken2HidlVec(authToken); in convertAndAddAuthToken()
141 Return<V4_0::ErrorCode> Keymaster3::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
144 return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in addRngEntropy()
217 Return<V4_0::ErrorCode> Keymaster3::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey()
219 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteKey()
223 Return<V4_0::ErrorCode> Keymaster3::deleteAllKeys() { in deleteAllKeys()
225 if (!rc.isOk()) return StatusOf<V3_0::ErrorCode, V4_0::ErrorCode>(rc); in deleteAllKeys()
[all …]
Dattestation_record.cpp174 template <V4_0::Tag tag>
177 typedef typename V4_0::TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag()
184 template <V4_0::Tag tag>
187 typedef typename V4_0::TypedTag2ValueType<decltype(ttag)>::type ValueT; in copyAuthTag()
192 template <V4_0::Tag tag>
223 template <V4_0::Tag tag>
231 template <V4_0::Tag tag>
239 template <V4_0::Tag tag>
246 template <V4_0::Tag tag>
DKeymaster.cpp60 namespace V4_0 { namespace
152 CHECK(error == V4_0::ErrorCode::OK) in getHmacParameters()
175 params, [&](V4_0::ErrorCode error, const hidl_vec<uint8_t>& curSharingCheck) { in computeHmac()
176 CHECK(error == V4_0::ErrorCode::OK) << "Failed to get HMAC parameters from " in computeHmac()
/hardware/interfaces/keymaster/4.0/default/
Dservice.cpp24 using android::hardware::keymaster::V4_0::SecurityLevel;
28 auto keymaster = ::keymaster::V4_0::ng::CreateKeymasterDevice(SecurityLevel::SOFTWARE); in main()
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp44 namespace V4_0 { namespace
60 using android::hardware::keymaster::V4_0::AuthorizationSet;
61 using android::hardware::keymaster::V4_0::AuthorizationSetBuilder;
62 using android::hardware::keymaster::V4_0::BlockMode;
63 using android::hardware::keymaster::V4_0::ErrorCode;
64 using android::hardware::keymaster::V4_0::IKeymasterDevice;
65 using android::hardware::keymaster::V4_0::KeyCharacteristics;
66 using android::hardware::keymaster::V4_0::SecurityLevel;
711 android::hardware::keymaster::V4_0::test::keymaster = in main()
712 android::hardware::keymaster::V4_0::test::KeymasterWrapper::newInstance(service_name); in main()
[all …]
/hardware/interfaces/audio/4.0/config/
DAndroid.bp5 package_name: "audio.policy.configuration.V4_0",
/hardware/interfaces/keymaster/4.1/default/
Dservice.cpp23 using android::hardware::keymaster::V4_0::SecurityLevel;
/hardware/interfaces/confirmationui/support/test/
Dmsg_formatting_test.cpp33 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
34 using ::android::hardware::keymaster::V4_0::HardwareAuthenticatorType;
/hardware/interfaces/confirmationui/1.0/default/
DConfirmationUI.h47 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& secureInputToken) override;
DConfirmationUI.cpp36 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp26 namespace V4_0 { namespace
277 return V4_0::serialize(TypedTag<tag_type, tag>(), out, param); in serialize()
383 return V4_0::deserialize(TypedTag<tag_type, tag>(), in, param); in deserialize()
555 std::initializer_list<V4_0::BlockMode> blockModes) { in BlockMode()
562 AuthorizationSetBuilder& AuthorizationSetBuilder::Digest(std::vector<V4_0::Digest> digests) { in Digest()
570 std::initializer_list<V4_0::PaddingMode> paddingModes) { in Padding()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h34 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
35 using ::android::hardware::keymaster::V4_0::HardwareAuthenticatorType;

12