Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 62) sorted by relevance

123

/system/authgraph/boringssl/src/
Dhmac.rs31 let md = openssl::md::Md::sha256(); in compute_hmac() localVariable
32 let mut out = vec_try![0; md.size()]?; in compute_hmac()
33 ossl!(openssl::hmac::hmac(md, &key.0, data, &mut out))?; in compute_hmac()
44 let md = openssl::md::Md::sha256(); in extract() localVariable
46 ossl!(openssl::hkdf::hkdf_extract(&mut out.0, md, &ikm.0, salt))?; in extract()
51 let md = openssl::md::Md::sha256(); in expand() localVariable
53 ossl!(openssl::hkdf::hkdf_expand(&mut out.0, md, &prk.0, context))?; in expand()
/system/keymaster/km_openssl/
Dhmac_operation.cpp101 const EVP_MD* md = nullptr; in HmacOperation() local
108 md = EVP_sha1(); in HmacOperation()
111 md = EVP_sha224(); in HmacOperation()
114 md = EVP_sha256(); in HmacOperation()
117 md = EVP_sha384(); in HmacOperation()
120 md = EVP_sha512(); in HmacOperation()
124 if (md == nullptr) { in HmacOperation()
130 if (mac_length > EVP_MD_size(md) || mac_length < kMinHmacLengthBits / 8) { in HmacOperation()
141 HMAC_Init_ex(&ctx_, blob.key_material, blob.key_material_size, md, nullptr /* engine */); in HmacOperation()
/system/chre/
Dnavbar.md1 * [Home](/README.md)
2 * [Framework Docs](/doc/framework_overview.md)
3 * [Nanoapp Docs](/doc/nanoapp_overview.md)
DREADME.md25 * [Framework Overview](/doc/framework_overview.md)
26 * [Porting Guide](/doc/porting_guide.md)
27 * [Build System](/doc/framework_build.md)
28 * [Debugging](/doc/framework_debugging.md)
29 * [Testing](/doc/framework_testing.md)
30 * [Vendor Extensions](/doc/vendor_extensions.md)
32 * [Nanoapp Overview](/doc/nanoapp_overview.md)
33 * [Developer Guide](/doc/nanoapp_developer_guide.md)
34 * [Interacting with Nanoapps](/doc/nanoapp_clients.md)
36 * [Compatibility Design](/doc/compatibility.md)
[all …]
/system/bpf/loader/
DLoader.cpp536 vector<struct bpf_map_def> md; in createMaps() local
549 md.resize(mdData.size() / sizeof(struct bpf_map_def)); in createMaps()
550 memcpy(md.data(), mdData.data(), mdData.size()); in createMaps()
558 if (md[i].zero != 0) abort(); in createMaps()
560 if (kvers < md[i].min_kver) { in createMaps()
562 mapNames[i].c_str(), kvers, md[i].min_kver); in createMaps()
567 if (kvers >= md[i].max_kver) { in createMaps()
569 mapNames[i].c_str(), kvers, md[i].max_kver); in createMaps()
574 enum bpf_map_type type = md[i].type; in createMaps()
589 unsigned int max_entries = md[i].max_entries; in createMaps()
[all …]
/system/incremental_delivery/incfs/incfsdump/
Ddump.cpp357 auto& md = mdBuf.md_header; in dumpMd() local
358 md = readAt<incfs_md_header>(offset); in dumpMd()
359 out() << "metadata: " << mdType(md.h_md_entry_type) << "(" << int(md.h_md_entry_type) in dumpMd()
363 out() << "record size: " << md.h_record_size; in dumpMd()
364 out() << "next md offset: " << hex(md.h_next_md_offset); in dumpMd()
367 switch (md.h_md_entry_type) { in dumpMd()
410 prevMd = md; in dumpMd()
411 offset = md.h_next_md_offset; in dumpMd()
/system/security/keystore2/src/crypto/
Dcertificate_utils.cpp480 const EVP_MD* md = nullptr; in buildRsaPssParameter() local
486 md = EVP_sha224(); in buildRsaPssParameter()
489 md = EVP_sha256(); in buildRsaPssParameter()
492 md = EVP_sha384(); in buildRsaPssParameter()
495 md = EVP_sha512(); in buildRsaPssParameter()
501 if (md != nullptr) { in buildRsaPssParameter()
502 if (auto error = setSaltLength(pss.get(), EVP_MD_size(md))) { in buildRsaPssParameter()
505 if (auto error = setRsaDigestAlgorField(&pss->hashAlgorithm, md)) { in buildRsaPssParameter()
508 if (auto error = setPssMaskGeneratorField(&pss->maskGenAlgorithm, md)) { in buildRsaPssParameter()
/system/extras/simpleperf/doc/
Dandroid_application_profiling.md4 …e [Here](https://android.googlesource.com/platform/system/extras/+/main/simpleperf/demo/README.md).
124 We can use [app-profiler.py](scripts_reference.md#app_profilerpy) to profile Android applications.
157 [report.py](scripts_reference.md#reportpy) reports profiling data in stdio interface. If there
158 are a lot of unknown symbols in the report, check [here](README.md#how-to-solve-missing-symbols-in-…
169 [report_html.py](scripts_reference.md#report_htmlpy) generates report in report.html, and pops up
174 We can record and report [call graphs](executable_commands_reference.md#record-call-graphs) as belo…
202 We can use [report_html.py](scripts_reference.md#report_htmlpy) to show profiling results in a web …
214 We can also use [inferno](scripts_reference.md#inferno) to show flamegraphs directly.
254 We can [record both on CPU time and off CPU time](executable_commands_reference.md#record-both-on-c…
276 We can [profile from launch of an application](scripts_reference.md#profile-from-launch-of-an-appli…
[all …]
DREADME.md14 …is [here](https://android.googlesource.com/platform/system/extras/+/main/simpleperf/doc/README.md).
81 …ipts used for recording and reporting. Details are in [scripts_reference.md](scripts_reference.md).
86 See [android_application_profiling.md](./android_application_profiling.md).
91 See [android_platform_profiling.md](./android_platform_profiling.md).
96 See [executable_commands_reference.md](./executable_commands_reference.md).
101 See [scripts_reference.md](./scripts_reference.md).
105 See [view_the_profile.md](./view_the_profile.md).
267 …googlesource.com/platform/system/extras/+/main/simpleperf/doc/scripts_reference.md#report_html_py).
272 …esource.com/platform/system/extras/+/main/simpleperf/doc/scripts_reference.md#pprof_proto_generato…
Dscripts_reference.md69 [Here](./android_application_profiling.md#control-recording-in-application-code) are the details.
118 external UIs. For recommended UIs, see [view_the_profile.md](view_the_profile.md).
178 The third tab is "Flamegraph". It shows the graphs generated by [`inferno`](./inferno.md).
192 [`inferno`](./inferno.md) is a tool used to generate flamegraph in a html file.
205 [`purgatorio`](../scripts/purgatorio/README.md) is a visualization tool to show samples in time ord…
227 …at](https://github.com/firefox-devtools/profiler/blob/main/docs-developer/gecko-profile-format.md),
261 …rofiler](https://github.com/firefox-devtools/profiler/blob/main/docs-user/guide-perf-profiling.md),
349 …ted in [sample_filter.md](https://android.googlesource.com/platform/system/extras/+/refs/heads/mai…
Djit_symbols.md11 [android_application_profiling.md](./android_application_profiling.md#prepare-an-android-applicatio…
/system/extras/simpleperf/scripts/
DCONTRIBUTING.md11 New scripts should have documentation in `../doc/scripts_reference.md`.
/system/chre/chpp/
DQUICKSTART.md3 …d platform. For implementation details please refer to the included README.md instead. The minimum…
35 …sting. For details on crafting a loopback datagram, please refer to README.md and the transport la…
55 …d testing. CHPP allows for custom services as well, as described in README.md. The standard servic…
/system/keymaster/key_blob_utils/
Dintegrity_assured_key_blob.cpp57 const EVP_MD* md = EVP_sha256(); in ComputeHmac() local
58 if (!HMAC_Init_ex(&ctx, HMAC_KEY, sizeof(HMAC_KEY), md, nullptr /* engine */)) in ComputeHmac()
/system/core/rootdir/etc/
Dpublic.libraries.wear.txt1 # See https://android.googlesource.com/platform/ndk/+/main/docs/PlatformApis.md
Dpublic.libraries.iot.txt1 # See https://android.googlesource.com/platform/ndk/+/main/docs/PlatformApis.md
Dpublic.libraries.android.txt1 # See https://android.googlesource.com/platform/ndk/+/main/docs/PlatformApis.md
/system/linkerconfig/testdata/root/system/etc/
Dpublic.libraries.txt1 # See https://android.googlesource.com/platform/ndk/+/master/docs/PlatformApis.md
/system/security/keystore2/
Dkeystore2.rc7 # See system/core/init/README.md for information on the init.rc language.
/system/extras/simpleperf/demo/JavaApi/app/
Dbuild.gradle8 …oid.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#prepare-an-android-a…
/system/extras/simpleperf/demo/CppApi/app/
Dbuild.gradle8 …oid.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#why-we-suggest-profi…
/system/extras/verity/include/verity/
Dhash_tree_builder.h36 HashTreeBuilder(size_t block_size, const EVP_MD* md);
/system/linkerconfig/
DREADME.md75 [ld.config.format.md](https://android.googlesource.com/platform/bionic/+/master/linker/ld.config.fo…
/system/chre/doc/
Dframework_overview.md3 [Porting Guide](/doc/porting_guide.md) |
4 [Build System](/doc/framework_build.md) |
5 [Debugging](/doc/framework_debugging.md) |
6 [Testing](/doc/framework_testing.md) |
7 [Vendor Extensions](/doc/vendor_extensions.md)
/system/bpf/progs/include/test/
Dmock_bpf_helpers.h30 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, usr, grp, md) \ argument

123