Home
last modified time | relevance | path

Searched refs:secret (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Virtualization/microdroid_manager/src/
Dvm_payload_service.rs35 secret: VmSecret, field
49 self.secret in getVmInstanceSecret()
59 if let Some(bcc) = self.secret.dice_artifacts().bcc() { in getDiceAttestationChain()
68 Ok(self.secret.dice_artifacts().cdi_attest().to_vec()) in getDiceAttestationCdi()
77 generate_attestation_key_and_csr(challenge, self.secret.dice_artifacts()) in requestAttestation()
109 secret: VmSecret, in new()
111 Self { allow_restricted_apis, virtual_machine_service: vm_service, secret } in new()
129 secret: VmSecret, in register_vm_payload_service()
133 VmPayloadService::new(allow_restricted_apis, vm_service, secret), in register_vm_payload_service()
Dvm_secret.rs113 if let Some(secret) = get_secret(&mut session, id, Some(policy.clone()))? { in new()
114 *skp_secret = secret; in new()
237 secret: Zeroizing<[u8; SECRET_SIZE]>,
240 let store_request = StoreSecretRequest { id: Id(id), secret: Secret(*secret), sealing_policy };
269 Ok(Some(get_response.secret.0))
/packages/modules/Virtualization/libs/bssl/src/
Dhkdf.rs28 secret: &[u8], in hkdf()
40 secret.as_ptr(),
41 secret.len(),
/packages/modules/Virtualization/pvmfw/src/
Dinstance.rs92 fn aead_ctx_from_secret(secret: &[u8]) -> Result<AeadContext> { in aead_ctx_from_secret()
93 let key = hkdf::<32>(secret, /* salt= */ &[], b"vm-instance", Digester::sha512())?; in aead_ctx_from_secret()
102 secret: &[u8], in get_recorded_entry()
111 let aead_ctx = aead_ctx_from_secret(secret)?; in get_recorded_entry()
135 secret: &[u8], in record_instance_entry()
142 let aead_ctx = aead_ctx_from_secret(secret)?; in record_instance_entry()
/packages/modules/Virtualization/docs/
Dupdatable_vm.md23 Updatable VMs are achieved by changing Microdroid's secret management. It now supports
26 1. Secretkeeper protected secret: This is random 64 bytes generated by VM on first boot & stored in
31 Secretkeeper protected secret is protected against rollback of boot images i.e. VM instance rebooted
34 instance, Microdroid Manager (on behalf of the VM payload) generates a secret, stores it in
35 Secretkeeper and on further reboots, this is retrieved from it. Along with this secret, a
46 constructed by Microdroid Manager on behalf of the payload and is stored along with the secret.
65 The sealing policy is updated each time the secret is retrieved. This ensures the secrets are only
78 the secret ( for ex. VM) while storing it, includes a corresponding sealing policy such that only
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpClient.java134 byte[] secret = export(ohttpJniWrapper, requestContext); in decryptObliviousHttpResponse()
145 byte[] prk = extract(ohttpJniWrapper, messageDigest, secret, salt); in decryptObliviousHttpResponse()
244 byte[] secret, in extract() argument
247 ohttpJniWrapper.hkdfExtract(messageDigest, secret, salt); in extract()
DObliviousHttpGateway.java237 HpkeExportResponse secret = in encrypt() local
250 byte[] prk = extract(jniWrapper, messageDigest, secret.getBytes(), salt); in encrypt()
279 byte[] secret, in extract() argument
282 ohttpJniWrapper.hkdfExtract(messageDigest, secret, salt); in extract()
DOhttpJniWrapper.java228 HkdfMessageDigestNativeRef hkdfMessageDigestNativeRef, byte[] secret, byte[] salt) { in hkdfExtract() argument
230 byte[] extractResponse = hkdfExtract(hkdfMessageDigestNativeRef.getAddress(), secret, salt); in hkdfExtract()
346 private native byte[] hkdfExtract(long hkdfMessageDigestNativeRef, byte[] secret, byte[] salt); in hkdfExtract() argument
DIOhttpJniWrapper.java119 HkdfMessageDigestNativeRef hkdfMessageDigestNativeRef, byte[] secret, byte[] salt); in hkdfExtract() argument
/packages/modules/Virtualization/java/framework/
DREADME.md170 Every VM has a 32-byte secret unique to it, which is not available to the
171 host. We refer to this as the VM identity. The secret, and thus the identity,
175 In Android 14 the secret is derived, using the [Open Profile for
185 Any change to any of these will mean a different secret is generated. So while
187 not have access to the same secret. An attempt to start an existing VM instance
188 which doesn't derive the same secret will fail.
193 instance with a new secret.
195 The payload code is not given direct access to the VM secret, but an API is
208 secret, even if it is otherwise identical.
339 directory. The data is encrypted using a key derived from the VM secret, which
[all …]
/packages/modules/AdServices/adservices/service-core/jni/cpp/
Dohttp_jni.cpp453 jbyte *secret = env->GetByteArrayElements(secretArray, 0); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hkdfExtract() local
463 &prk_len, evp_md, reinterpret_cast<const uint8_t *>(secret), in Java_com_android_adservices_ohttp_OhttpJniWrapper_hkdfExtract()
466 env->ReleaseByteArrayElements(secretArray, secret, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hkdfExtract()
472 env->ReleaseByteArrayElements(secretArray, secret, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hkdfExtract()
/packages/modules/Virtualization/vm_payload/include/
Dvm_payload.h111 void* _Nonnull secret, size_t size);
/packages/modules/Virtualization/vm_payload/src/
Dlib.rs182 secret: *mut u8, in AVmPayload_getVmInstanceSecret()
194 ptr::copy_nonoverlapping(vm_secret.as_ptr(), secret, size); in AVmPayload_getVmInstanceSecret()
/packages/modules/AdServices/adservices/service-core/jni/include/
Dohttp_jni.h153 JNIEnv *env, jclass, jlong hkdfMd, jbyteArray secret, jbyteArray salt);
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Denvelope.proto41 // If api_key contains the right secret string, this allows Cobalt to identify
Dobservation_batch.proto33 // secret payload.
/packages/modules/Virtualization/encryptedstore/
DREADME.md13 derived from the VM secret and AES256 cipher with HCTR2 mode. The Block level encryption ensures
/packages/apps/Car/DebuggingRestrictionController/server/
DHOW_TO.md42 for an example. The config file contains secret information; do NOT commit
/packages/modules/Virtualization/pvmfw/
DREADME.md247 next-stage secret, and a certificate chain, intended for pVM attestation. Note
404 - the `/chosen/avf,new-instance` flag, set when pvmfw generated a new secret
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-services-storage-v1-rev158-1.25.0.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv36 …ng.unicorn.game.girls.color.quest.pet.building.minecraft.cube.pixel.rainbow.secret.free 10250,10238
2529 secret.hide.calculator 10184
6421 com.tsua.my.secret.diary.lock.photo 10166
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv36 …ng.unicorn.game.girls.color.quest.pet.building.minecraft.cube.pixel.rainbow.secret.free 10250,10238
2529 secret.hide.calculator 10184
6421 com.tsua.my.secret.diary.lock.photo 10166
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses10560 Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law,
10731 copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...

12