Home
last modified time | relevance | path

Searched refs:hidden (Results 1 – 25 of 41) sorted by relevance

12

/system/keymaster/key_blob_utils/
Docb_utils.cpp50 const AuthorizationSet& hidden, in BuildDerivationData() argument
54 hidden.SerializedSize() + hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in BuildDerivationData()
61 buf = hidden.Serialize(buf, end); in BuildDerivationData()
70 const AuthorizationSet& hidden, in InitializeKeyWrappingContext() argument
75 keymaster_error_t error = BuildDerivationData(hw_enforced, sw_enforced, hidden, in InitializeKeyWrappingContext()
119 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, in OcbEncryptKey() argument
133 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); in OcbEncryptKey()
155 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, in OcbDecryptKey() argument
169 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); in OcbDecryptKey()
Dintegrity_assured_key_blob.cpp52 const AuthorizationSet& hidden, uint8_t hmac[HMAC_SIZE]) { in ComputeHmac() argument
53 size_t hidden_bytes_size = hidden.SerializedSize(); in ComputeHmac()
57 hidden.Serialize(hidden_bytes.get(), hidden_bytes.get() + hidden_bytes_size); in ComputeHmac()
80 const AuthorizationSet& hidden, in SerializeIntegrityAssuredBlob() argument
99 return ComputeHmac(key_blob->key_material, p - key_blob->key_material, hidden, p); in SerializeIntegrityAssuredBlob()
103 const AuthorizationSet& hidden, in DeserializeIntegrityAssuredBlob() argument
115 hidden, computed_hmac); in DeserializeIntegrityAssuredBlob()
Dsoftware_keyblobs.cpp81 AuthorizationSet* hidden, in BuildHiddenAuthorizations() argument
85 hidden->push_back(TAG_APPLICATION_ID, entry.data, entry.data_length); in BuildHiddenAuthorizations()
87 hidden->push_back(TAG_APPLICATION_DATA, entry.data, entry.data_length); in BuildHiddenAuthorizations()
89 hidden->push_back(TAG_ROOT_OF_TRUST, root_of_trust); in BuildHiddenAuthorizations()
91 return TranslateAuthorizationSetError(hidden->is_valid()); in BuildHiddenAuthorizations()
244 const AuthorizationSet& hidden, in ParseOcbAuthEncryptedBlob() argument
258 return OcbDecryptKey(*hw_enforced, *sw_enforced, hidden, MASTER_KEY, encrypted_key_material, in ParseOcbAuthEncryptedBlob()
333 AuthorizationSet hidden; in UpgradeSoftKeyBlob() local
334 auto error = BuildHiddenAuthorizations(upgrade_params, &hidden, softwareRootOfTrust); in UpgradeSoftKeyBlob()
337 return SerializeIntegrityAssuredBlob(key->key_material(), hidden, key->hw_enforced(), in UpgradeSoftKeyBlob()
/system/keymaster/include/keymaster/key_blob_utils/
Dintegrity_assured_key_blob.h30 const AuthorizationSet& hidden,
36 const AuthorizationSet& hidden,
Docb_utils.h36 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden,
42 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden,
Dsoftware_keyblobs.h35 AuthorizationSet* hidden,
48 const AuthorizationSet& hidden,
/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp147 AuthorizationSet hidden; in ParseKeyBlob() local
148 keymaster_error_t error = BuildHiddenAuthorizations(additional_params, &hidden, in ParseKeyBlob()
154 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
224 AuthorizationSet hidden; in CreateKeyBlob() local
225 error = BuildHiddenAuthorizations(key_description, &hidden, softwareRootOfTrust); in CreateKeyBlob()
229 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
Dpure_soft_keymaster_context.cpp119 AuthorizationSet hidden; in CreateKeyBlob() local
120 error = BuildHiddenAuthorizations(key_description, &hidden, softwareRootOfTrust); in CreateKeyBlob()
124 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
181 AuthorizationSet hidden; in ParseKeyBlob() local
182 error = BuildHiddenAuthorizations(additional_params, &hidden, softwareRootOfTrust); in ParseKeyBlob()
188 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
193 error = ParseOcbAuthEncryptedBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
Dsoft_keymaster_context.cpp207 AuthorizationSet hidden; in CreateKeyBlob() local
208 error = BuildHiddenAuthorizations(key_description, &hidden, root_of_trust_); in CreateKeyBlob()
212 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
281 AuthorizationSet hidden; in ParseKeyBlob() local
297 error = BuildHiddenAuthorizations(additional_params, &hidden, root_of_trust_); in ParseKeyBlob()
303 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
308 error = ParseOcbAuthEncryptedBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
/system/media/camera/docs/
DCameraMetadataEnums.mako41 % if entry.applied_visibility in ('hidden', 'ndk_public') or value.hidden:
61 any_visible(section, xml_name, ('public','hidden', 'ndk_public', 'java_public') ):
65 …% for entry in filter_visibility(inner_namespace.entries, ('hidden','public', 'ndk_public', 'java_…
75 ('hidden', 'public', 'ndk_public', 'java_public')):
DCameraMetadataKeys.mako48 % if not value.hidden:
57 % if entry.applied_visibility in ('hidden', 'ndk_public'):
80 any_visible(section, xml_name, ('public','hidden','ndk_public','java_public') ):
84 …% for entry in filter_visibility(inner_namespace.merged_entries, ('hidden','public', 'ndk_public',…
90 ('hidden', 'public', 'ndk_public', 'java_public')):
Dndk_camera_metadata_tags.mako148 print " WARNING: {}_{} is marked as hidden".format(csym(ndk(entry.name)), val.name) + \
149 " enum in NDK. Please double check this value is properly hidden" + \
153 % if val.hidden or val.ndk_hidden:
/system/security/keystore-engine/
DAndroid.bp24 "-fvisibility=hidden",
55 "-fvisibility=hidden",
/system/media/radio/
DAndroid.bp16 "-fvisibility=hidden",
/system/media/camera/
DAndroid.bp26 "-fvisibility=hidden",
/system/chre/build/
Dtools_config.mk39 COMMON_CFLAGS += -fvisibility=hidden
/system/bt/vendor_libs/test_vendor_lib/
DAndroid.bp40 "-fvisibility=hidden",
105 "-fvisibility=hidden",
/system/core/libnativeloader/
DAndroid.bp10 "-fvisibility=hidden",
/system/core/trusty/storage/lib/
DAndroid.bp34 "-fvisibility=hidden",
/system/nvram/messages/
DAndroid.bp34 "-fvisibility=hidden",
/system/bt/vendor_libs/test_vendor_lib/packets/
DAndroid.bp31 "-fvisibility=hidden",
/system/nvram/hal/
DAndroid.bp48 "-fvisibility=hidden",
/system/core/trusty/gatekeeper/
DAndroid.bp36 "-fvisibility=hidden",
/system/bt/gd/
DAndroid.bp24 "-fvisibility=hidden",
/system/bt/test/rootcanal/
DAndroid.bp38 "-fvisibility=hidden",

12