Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/Virtualization/libs/bssl/tests/
Deckey_test.rs87 let digest = digester.digest(MESSAGE1)?; in ecdsa_p256_signing_and_verification_succeed() localVariable
103 let digest = digester.digest(MESSAGE1)?; in ecdsa_p384_signing_and_verification_succeed() localVariable
115 let digest = sha256(MESSAGE1)?; in verifying_ecdsa_p256_signed_with_a_different_key_fails() localVariable
148 let digest = sha256(MESSAGE1)?; in ecdsa_cose_signing_and_verification_succeed() localVariable
160 let digest = sha256(MESSAGE1)?; in verifying_ecdsa_cose_signed_with_a_different_message_fails() localVariable
174 let digest = sha256(MESSAGE1)?; in verifying_ecdsa_cose_signed_as_der_fails() localVariable
/packages/modules/Virtualization/compos/src/
Dartifact_signer.rs55 let digest = fsverity::measure(file.as_fd())?; in add_artifact() localVariable
56 let digest = hex::encode(digest); in add_artifact() localVariable
/packages/modules/Virtualization/authfs/src/fsverity/metadata/
Dmetadata.rs42 pub digest: Vec<u8>, field
98 let digest = match header.descriptor.hash_algorithm { in parse_fsverity_metadata() localVariable
/packages/modules/Virtualization/libs/bssl/src/
Dlib.rs26 mod digest; module
Ddigest.rs72 pub fn digest(&self, data: &[u8]) -> Result<Vec<u8>> { in digest() method
/packages/modules/Virtualization/libs/apkverify/src/
Dv3.rs68 digest: LengthPrefixed<Bytes>, field
129 let digest = signed_data.find_digest_by_algorithm(algorithm_id)?; in find_digest_by_algorithm() localVariable
180 let digest = verified_signed_data.find_digest_by_algorithm( in verify() localVariable
Dsigutil.rs157 fn digest(&self, data: &[u8], header: &[u8], size: u32) -> Result<DigestBytes> { in digest() method
277 let digest = apk_sections.compute_digest(SignatureAlgorithmID::DsaWithSha256).unwrap(); in test_apk_digest() localVariable
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DFips186_2Prf.java72 Sha1_186_2_FunctionG digest = new Sha1_186_2_FunctionG(); in getRandom() local
/packages/modules/Virtualization/service_vm/requests/src/
Dclient_vm.rs120 let digest = sha256(message)?; in ecdsa_verify_cose() localVariable
125 let digest = sha256(message)?; in ecdsa_sign_der() localVariable
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAllowLists.java173 MessageDigest digest = MessageDigest.getInstance(HASH_ALGORITHM); in getAppSignatureHash() local
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java209 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in computeHash() local
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DUtils.java271 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in encodeP256PubKey() local
285 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in encodeX25519PubKey() local
/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/
DSafetyCenterInteractionLoggingHostTest.kt230 val digest = MessageDigest.getInstance("MD5") in encodeId() constant
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/
DCoverArt.java89 final MessageDigest digest = MessageDigest.getInstance("MD5"); in getImageHash() local
/packages/modules/Virtualization/service_vm/client_vm_csr/src/
Dlib.rs120 let digest = sha256(message); in ecdsa_sign_cose() localVariable
219 let digest = sha256(message); in ecdsa_verify_cose() localVariable
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DBerTlv.java58 public static String toHex(byte[] digest) { in toHex()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DInteractionLogger.kt150 val digest = MessageDigest.getInstance("MD5") in encodeStringId() constant
/packages/modules/Virtualization/authfs/src/
Dmain.rs132 digest: String, field
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java434 MessageDigest digest = null; in getSha256() local
/packages/modules/adb/daemon/
Dauth.cpp138 uint8_t digest[SHA256_DIGEST_LENGTH]; in adbd_tls_client_ca_list() local
/packages/modules/Virtualization/rialto/tests/
Dtest.rs229 let digest = sha256(&tbs_cert.to_der().unwrap()).unwrap(); in check_certificate_for_client_vm() localVariable
/packages/modules/Virtualization/pvmfw/avb/src/
Dverify.rs225 let mut digest = Digest::default(); in copy_digest() localVariable
/packages/modules/Virtualization/vm_payload/src/
Dlib.rs489 let digest = sha256(message); in try_ecdsa_sign() localVariable
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DDevOptionsUiHelper.kt462 val digest = MessageDigest.getInstance("SHA-256").digest(data) in <lambda>() constant
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintPackageUtils.java299 MessageDigest digest; in getSHA256() local

12