Home
last modified time | relevance | path

Searched refs:legacy_enum_conversion (Results 1 – 10 of 10) sorted by relevance

/system/keymaster/ng/
DAndroidKeymaster4Device.cpp44 inline keymaster_tag_t legacy_enum_conversion(const Tag value) { in legacy_enum_conversion() function
48 inline Tag legacy_enum_conversion(const keymaster_tag_t value) { in legacy_enum_conversion() function
52 inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose value) { in legacy_enum_conversion() function
56 inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat value) { in legacy_enum_conversion() function
60 inline SecurityLevel legacy_enum_conversion(const keymaster_security_level_t value) { in legacy_enum_conversion() function
64 inline hw_authenticator_type_t legacy_enum_conversion(const HardwareAuthenticatorType value) { in legacy_enum_conversion() function
68 inline ErrorCode legacy_enum_conversion(const keymaster_error_t value) { in legacy_enum_conversion() function
127 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Hidl()
182 auto tag = legacy_enum_conversion(keyParams[i].tag); in hidlKeyParams2Km()
254 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters()
[all …]
DAndroidKeymaster3Device.cpp65 inline keymaster_tag_t legacy_enum_conversion(const Tag value) { in legacy_enum_conversion() function
68 inline Tag legacy_enum_conversion(const keymaster_tag_t value) { in legacy_enum_conversion() function
71 inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose value) { in legacy_enum_conversion() function
74 inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat value) { in legacy_enum_conversion() function
77 inline ErrorCode legacy_enum_conversion(const keymaster_error_t value) { in legacy_enum_conversion() function
91 auto tag = legacy_enum_conversion(keyParams[i].tag); in KmParamSet()
174 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Hidl()
281 return legacy_enum_conversion(response.error); in addRngEntropy()
299 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
319 _hidl_cb(legacy_enum_conversion(response.error), resultCharacteristics); in getKeyCharacteristics()
[all …]
DAndroidKeymaster41Device.cpp31 inline V41ErrorCode legacy_enum_conversion(const keymaster_error_t value) { in legacy_enum_conversion() function
53 return legacy_enum_conversion( in deviceLocked()
61 return legacy_enum_conversion(impl_->EarlyBootEnded().error); in earlyBootEnded()
DKeyMintAidlUtils.cpp37 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Aidl()
81 auto tag = legacy_enum_conversion(keyParams[i].tag); in aidlKeyParams2Km()
DKeyMintUtils.cpp85 auto tag = km_utils::legacy_enum_conversion(param.tag); in aidlEnumParam2Km()
142 auto tag = legacy_enum_conversion(param.tag); in kmParam2Aidl()
197 auto tag = legacy_enum_conversion(param.tag); in aidlKeyParams2Km()
DAndroidKeyMintDevice.cpp41 using km_utils::legacy_enum_conversion;
311 request.key_format = legacy_enum_conversion(keyFormat); in importKey()
415 request.purpose = legacy_enum_conversion(purpose); in begin()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp54 inline keymaster_tag_t legacy_enum_conversion(const Tag value) { in legacy_enum_conversion() function
57 inline Tag legacy_enum_conversion(const keymaster_tag_t value) { in legacy_enum_conversion() function
60 inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose value) { in legacy_enum_conversion() function
63 inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat value) { in legacy_enum_conversion() function
66 inline ErrorCode legacy_enum_conversion(const keymaster_error_t value) { in legacy_enum_conversion() function
80 auto tag = legacy_enum_conversion(keyParams[i].tag); in KmParamSet()
164 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Hidl()
231 return legacy_enum_conversion(response.error); in addRngEntropy()
249 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
269 _hidl_cb(legacy_enum_conversion(response.error), resultCharacteristics); in getKeyCharacteristics()
[all …]
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp58 inline keymaster_tag_t legacy_enum_conversion(const Tag value) { in legacy_enum_conversion() function
61 inline Tag legacy_enum_conversion(const keymaster_tag_t value) { in legacy_enum_conversion() function
64 inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose value) { in legacy_enum_conversion() function
67 inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat value) { in legacy_enum_conversion() function
71 inline SecurityLevel legacy_enum_conversion(const keymaster_security_level_t value) { in legacy_enum_conversion() function
75 inline hw_authenticator_type_t legacy_enum_conversion(const HardwareAuthenticatorType value) { in legacy_enum_conversion() function
79 inline ErrorCode legacy_enum_conversion(const keymaster_error_t value) { in legacy_enum_conversion() function
132 auto tag = legacy_enum_conversion(keyParams[i].tag); in KmParamSet()
216 result[i].tag = legacy_enum_conversion(tag); in kmParamSet2Hidl()
282 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters()
[all …]
/system/keymaster/ng/include/
DKeyMintUtils.h35 inline keymaster_tag_t legacy_enum_conversion(const Tag value) { in legacy_enum_conversion() function
39 inline Tag legacy_enum_conversion(const keymaster_tag_t value) { in legacy_enum_conversion() function
43 inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose value) { in legacy_enum_conversion() function
47 inline keymaster_key_format_t legacy_enum_conversion(const KeyFormat value) { in legacy_enum_conversion() function
51 inline SecurityLevel legacy_enum_conversion(const keymaster_security_level_t value) { in legacy_enum_conversion() function
55 inline hw_authenticator_type_t legacy_enum_conversion(const HardwareAuthenticatorType value) { in legacy_enum_conversion() function
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp43 using km_utils::legacy_enum_conversion;
168 request.key_format = legacy_enum_conversion(keyFormat); in importKey()
273 request.purpose = legacy_enum_conversion(purpose); in begin()