/packages/modules/Virtualization/libs/apkverify/src/ |
D | hashtree.rs | 17 use openssl::hash::{DigestBytes, Hasher, MessageDigest}; 36 algorithm: MessageDigest, in from() argument 70 algorithm: MessageDigest, in generate_hash_tree() argument 118 algorithm: MessageDigest, in hash_one_block() argument 181 fn zero_pad_salt(salt: &[u8], algorithm: MessageDigest) -> Vec<u8> { in zero_pad_salt() 195 use openssl::hash::MessageDigest; 211 let ht = HashTree::from(&mut input, size, &salt, 4096, MessageDigest::sha256())?; in compare_with_golden_output()
|
D | algorithms.rs | 24 use openssl::hash::MessageDigest; 117 pub(crate) fn new_message_digest(&self) -> MessageDigest { in new_message_digest() argument 125 | SignatureAlgorithmID::VerityDsaWithSha256 => MessageDigest::sha256(), in new_message_digest() 128 | SignatureAlgorithmID::EcdsaWithSha512 => MessageDigest::sha512(), in new_message_digest()
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | DigestAuthUtils.java | 29 import java.security.MessageDigest; 103 MessageDigest md5Digest = getMd5Digest(); in computeResponse() 125 MessageDigest md5Digest = getMd5Digest(); in generateA1Hash() 135 MessageDigest md5Digest = getMd5Digest(); in generateA2Hash() 144 private static MessageDigest getMd5Digest() { in getMd5Digest() 146 return MessageDigest.getInstance("MD5"); in getMd5Digest()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MD5Calculator.java | 21 import java.security.MessageDigest; 28 MessageDigest digester; in checksum() 30 digester = MessageDigest.getInstance("MD5"); in checksum()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/ |
D | AdIdEncryption.java | 24 import java.security.MessageDigest; 52 MessageDigest sha256Digest = MessageDigest.getInstance(SHA256_DIGEST_ALGORITHM_NAME); in encryptAdIdAndEnrollmentSha256()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/ |
D | KAnonUtil.java | 20 import java.security.MessageDigest; 59 MessageDigest md = MessageDigest.getInstance(SHA256); in getKAnonEntitiesFromAuctionResult()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionUtils.java | 29 import java.security.MessageDigest; 54 MessageDigest md = MessageDigest.getInstance("MD5"); in getFingerprintFor()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | Util.java | 27 import java.security.MessageDigest; 59 MessageDigest algorithm = MessageDigest.getInstance("MD5"); in toMd5()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | CequintPackageUtils.java | 25 import java.security.MessageDigest; 299 MessageDigest digest; in getSHA256() 301 digest = MessageDigest.getInstance("SHA256", "BC"); in getSHA256()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapMsChapV2MethodStateMachine.java | 65 import java.security.MessageDigest; 528 MessageDigest sha1 = MessageDigest.getInstance(SHA_ALG); in challengeHash() 609 MessageDigest sha1 = MessageDigest.getInstance(SHA_ALG); in generateAuthenticatorResponse() 644 MessageDigest sha1 = MessageDigest.getInstance(SHA_ALG); in getMasterKey() 657 MessageDigest sha1 = MessageDigest.getInstance(SHA_ALG); in getAsymmetricStartKey()
|
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/ |
D | PackageUtils.java | 37 import java.security.MessageDigest; 58 MessageDigest messageDigest; in computeSha256DigestBytes() 60 messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Fingerprint.java | 22 import java.security.MessageDigest; 32 private static final MessageDigest DIGESTER; 51 DIGESTER = MessageDigest.getInstance(DIGEST_MD5);
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | MigrationUtils.java | 32 import java.security.MessageDigest; 130 MessageDigest messageDigest; in computeSha256DigestBytes() 132 messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AllowLists.java | 31 import java.security.MessageDigest; 173 MessageDigest digest = MessageDigest.getInstance(HASH_ALGORITHM); in getAppSignatureHash()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | Log.java | 23 import java.security.MessageDigest; 117 MessageDigest messageDigest; in secureHash() 119 messageDigest = MessageDigest.getInstance("SHA-1"); in secureHash()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifier.java | 33 import java.security.MessageDigest; 209 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in computeHash()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/ |
D | AdbDumpUtil.java | 32 import java.security.MessageDigest; 52 MessageDigest md = MessageDigest.getInstance("MD5"); in generateFingerprintMd5()
|
D | PackageManagerUtil.java | 26 import java.security.MessageDigest; 81 MessageDigest.getInstance(/* algorithm= */ "SHA-256") in hasSigningCertificateBelowP()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/ |
D | CoverArt.java | 30 import java.security.MessageDigest; 89 final MessageDigest digest = MessageDigest.getInstance("MD5"); in getImageHash()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifier.java | 25 import java.security.MessageDigest; 47 private MessageDigest mDigester; 152 mDigester = MessageDigest.getInstance("SHA-256"); in initialize()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | Utils.java | 43 import java.security.MessageDigest; 271 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in encodeP256PubKey() 285 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in encodeX25519PubKey()
|
/packages/apps/SecureElement/src/com/android/se/security/ |
D | AccessControlEnforcer.java | 57 import java.security.MessageDigest; 380 MessageDigest md = MessageDigest.getInstance("SHA"); in getAppCertHashes() 381 MessageDigest md256 = MessageDigest.getInstance("SHA-256"); in getAppCertHashes()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 36 import java.security.MessageDigest; 175 MessageDigest messageDigest = MessageDigest.getInstance("MD5"); in hasAccessToService()
|
/packages/services/Telephony/src/com/android/phone/utils/ |
D | CarrierAllowListInfo.java | 35 import java.security.MessageDigest; 160 MessageDigest sha256MDigest = MessageDigest.getInstance(MESSAGE_DIGEST_256_ALGORITHM); in validateCallerSignature()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | HashUtils.java | 26 import java.security.MessageDigest; 45 return asLong(MessageDigest.getInstance("SHA-256").digest(data.getBytes())); in sha256()
|