Home
last modified time | relevance | path

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

12

/system/keymaster/key_blob_utils/
Docb_utils.cpp49 const AuthorizationSet& hidden, in BuildDerivationData() argument
53 hidden.SerializedSize() + hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in BuildDerivationData()
60 buf = hidden.Serialize(buf, end); in BuildDerivationData()
69 const AuthorizationSet& hidden, in InitializeKeyWrappingContext() argument
74 keymaster_error_t error = BuildDerivationData(hw_enforced, sw_enforced, hidden, in InitializeKeyWrappingContext()
118 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, in OcbEncryptKey() argument
132 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); in OcbEncryptKey()
154 const AuthorizationSet& sw_enforced, const AuthorizationSet& hidden, in OcbDecryptKey() argument
168 InitializeKeyWrappingContext(hw_enforced, sw_enforced, hidden, master_key, &ctx); in OcbDecryptKey()
Dintegrity_assured_key_blob.cpp51 const AuthorizationSet& hidden, uint8_t hmac[HMAC_SIZE]) { in ComputeHmac() argument
52 size_t hidden_bytes_size = hidden.SerializedSize(); in ComputeHmac()
56 hidden.Serialize(hidden_bytes.get(), hidden_bytes.get() + hidden_bytes_size); in ComputeHmac()
79 const AuthorizationSet& hidden, in SerializeIntegrityAssuredBlob() argument
98 return ComputeHmac(key_blob->key_material, p - key_blob->key_material, hidden, p); in SerializeIntegrityAssuredBlob()
102 const AuthorizationSet& hidden, in DeserializeIntegrityAssuredBlob() argument
114 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()
339 AuthorizationSet hidden; in UpgradeSoftKeyBlob() local
340 auto error = BuildHiddenAuthorizations(upgrade_params, &hidden, softwareRootOfTrust); in UpgradeSoftKeyBlob()
343 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()
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()
Dpure_soft_keymaster_context.cpp158 AuthorizationSet hidden; in CreateKeyBlob() local
159 error = BuildHiddenAuthorizations(key_description, &hidden, softwareRootOfTrust); in CreateKeyBlob()
162 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
219 AuthorizationSet hidden; in ParseKeyBlob() local
220 error = BuildHiddenAuthorizations(additional_params, &hidden, softwareRootOfTrust); in ParseKeyBlob()
226 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
231 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:
Dmetadata_template.mako159 % if value.hidden:
160 hidden="true"
/system/security/keystore-engine/
DAndroid.bp24 "-fvisibility=hidden",
55 "-fvisibility=hidden",
/system/media/radio/
DAndroid.bp16 "-fvisibility=hidden",
/system/chre/build/
Dtools_config.mk39 COMMON_CFLAGS += -fvisibility=hidden
/system/media/camera/
DAndroid.bp35 "-fvisibility=hidden",
/system/bt/vendor_libs/test_vendor_lib/
DAndroid.bp48 "-fvisibility=hidden",
119 "-fvisibility=hidden",
/system/core/trusty/storage/lib/
DAndroid.bp34 "-fvisibility=hidden",
/system/nvram/messages/
DAndroid.bp34 "-fvisibility=hidden",
/system/core/trusty/gatekeeper/
DAndroid.bp36 "-fvisibility=hidden",
/system/bt/build/
DBUILD.gn37 "-fvisibility=hidden",
DAndroid.bp38 "-fvisibility=hidden",
/system/nvram/hal/
DAndroid.bp48 "-fvisibility=hidden",
/system/bt/test/rootcanal/
DAndroid.bp39 "-fvisibility=hidden",

12