Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintPackageUtils.java299 MessageDigest digest; in getSHA256() local
301 digest = MessageDigest.getInstance("SHA256", "BC"); in getSHA256()
307 digest.update(sig); in getSHA256()
308 return digest.digest(); in getSHA256()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMD5Calculator.java39 final byte[] digest = digester.digest(); in checksum()
41 for (int i = 0; i < digest.length; ++i) { in checksum()
42 s.append(String.format("%1$02x", digest[i])); in checksum()
/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
73 digest.update( in getRandom()
75 digest.doFinal(w_i, 0); in getRandom()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java528 return Arrays.copyOf(sha1.digest(), CHALLENGE_HASH_LEN); in challengeHash()
609 byte[] digest = sha1.digest(); in generateAuthenticatorResponse()
613 sha1.update(digest); in generateAuthenticatorResponse()
617 return sha1.digest(); in generateAuthenticatorResponse()
644 return Arrays.copyOf(sha1.digest(), MASTER_KEY_LEN); in getMasterKey()
658 return Arrays.copyOf(sha1.digest(), SESSION_KEY_LEN); in getAsymmetricStartKey()
DEapSimAkaMethodStateMachine.java172 byte[] mk = sha1.digest(mkInput); in generateAndPersistKeys()
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DBerTlv.java58 public static String toHex(byte[] digest) { in toHex() argument
60 StringBuilder sb = new StringBuilder(digest.length * 2); in toHex()
61 for (byte b : digest) { in toHex()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java208 doReturn(MK).when(mockSha1).digest(eq(mkInput)); in testGenerateAndPersistKeys()
220 verify(mockSha1).digest(eq(mkInput)); in testGenerateAndPersistKeys()
231 byte[] sha1Result = sha1.digest(SHA_1_INPUT); in testCreateSha1()
/packages/apps/SecureElement/src/com/android/se/security/
DAccessControlEnforcer.java378 appCertHashes.add(md.digest(signature.toByteArray())); in getAppCertHashes()
379 appCertHashes.add(md256.digest(signature.toByteArray())); in getAppCertHashes()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionUtils.java58 byte[] md5Bytes = md.digest(data.toByteArray()); in getFingerprintFor()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java62 return toHexString(algorithm.digest(), ""); in toMd5()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java98 return new Fingerprint(in.getMessageDigest().digest()); in fromInputStream()
/packages/apps/Dialer/java/com/android/incallui/
DLog.java124 byte[] result = messageDigest.digest(); in secureHash()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java180 return isCertificateValid(messageDigest.digest(signature.toByteArray()), this.certificates); in hasAccessToService()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionClientFactory.java110 byte[] bytes = messageDigest.digest(packageInfo.signatures[0].toByteArray()); in getCertificateFingerprint()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java735 return md.digest(); in computeHashOfByteArray()
768 hash = md.digest(); in computeHashOfFile()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DDigestMd5Utils.java191 return digester.digest(); in getMd5()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayload.java315 return natDetectionDataDigest.digest(byteBuffer.array()); in generateNatDetectionData()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java570 byte[] messageDigestBytes = messageDigest.digest(); in readHashFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3489 final byte[] hashResult = mMessageDigest.digest(input); in generateHashIdForData()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...

12