Home
last modified time | relevance | path

Searched refs:doFinal (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/locksettings/
DSP800Derive.java64 return m.doFinal(); in fixedInput()
80 return m.doFinal(); in withContext()
DAesEncryptionUtil.java65 plainText = c.doFinal(rawCipherText); in decrypt()
95 cipherText = cipher.doFinal(plainText); in encrypt()
DUnifiedProfilePasswordCache.java112 byte[] ciphertext = cipher.doFinal(password.getCredential()); in storePassword()
147 credential = cipher.doFinal(ciphertext); in retrievePassword()
DSyntheticPasswordCrypto.java74 return cipher.doFinal(ciphertext); in decrypt()
88 byte[] ciphertext = cipher.doFinal(blob); in encrypt()
DLockSettingsService.java1543 decryptionResult = cipher.doFinal(encryptedPassword); in getDecryptedPasswordForTiedProfile()
2155 ciphertext = cipher.doFinal(password.getCredential()); in tieProfileLockToParent()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java66 byte[] encryptedBytes = cipher.doFinal(clearBytes); in encryptBundle()
92 byte[] decryptedBytes = cipher.doFinal(encryptedBytes); in decryptBundle()
121 return mac.doFinal(); in createMac()
/frameworks/base/services/companion/java/com/android/server/companion/transport/
DCryptoManager.java76 byte[] encryptedBytes = mEncryptCipher.doFinal(input); in encrypt()
101 return mDecryptCipher.doFinal(encryptedBytes); in decrypt()
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationStreamer.java37 byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature) in doFinal() method
DAndroidKeyStoreECDSASignatureSpi.java96 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature) in doFinal() method in AndroidKeyStoreECDSASignatureSpi.NONE.TruncateToFieldSizeMessageStreamer
106 return mDelegate.doFinal(bufferedInput, in doFinal()
DAndroidKeyStoreCipherSpiBase.java452 output = mAdditionalAuthenticationDataStreamer.doFinal( in flushAAD()
604 return mCipher.doFinal(); in engineDoFinal()
606 return mCipher.doFinal(input, inputOffset, inputLen); in engineDoFinal()
624 output = mMainDataStreamer.doFinal( in engineDoFinal()
647 return mCipher.doFinal(input, inputOffset, inputLen, output); in engineDoFinal()
667 return mCipher.doFinal(input, output); in engineDoFinal()
DAndroidKeyStoreAuthenticatedAESCipherSpi.java394 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, in doFinal() method in AndroidKeyStoreAuthenticatedAESCipherSpi.BufferAllOutputUntilDoFinalStreamer
396 byte[] output = mDelegate.doFinal(input, inputOffset, inputLength, signature); in doFinal()
DKeyStoreCryptoOperationChunkedStreamer.java177 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, in doFinal() method
DAndroidKeyStoreHmacSpi.java237 result = mChunkedStreamer.doFinal( in engineDoFinal()
DAndroidKeyStoreSignatureSpiBase.java328 signature = mMessageStreamer.doFinal( in engineSign()
/frameworks/base/identity/java/android/security/identity/
DUtil.java143 byte[] prk = mac.doFinal(ikm); in computeHkdf()
153 digest = mac.doFinal(); in computeHkdf()
DCredstoreIdentityCredential.java182 messageCiphertextAndAuthTag = cipher.doFinal(messagePlaintext); in encryptMessageToReader()
207 plainText = cipher.doFinal(messageCiphertext); in decryptMessageFromReader()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DCipherPerfTest.java185 mCipherEncrypt.doFinal(DATA, 0, inputSize, mOutput); in timeEncrypt()
197 mCipherDecrypt.doFinal(DATA, 0, inputSize, mOutput); in timeDecrypt()
/frameworks/base/core/java/android/content/pm/
DMacAuthenticatedInputStream.java42 final byte[] actualTag = mMac.doFinal(); in isTagEqual()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java133 byte[] unwrappedMaterial = cipher.doFinal(wrappedKey.getKeyMaterial()); in generateAndStoreKey_storesTheWrappedVersionOfTheRawMaterial()
167 byte[] unwrappedMaterial = cipher.doFinal(wrappedKey.getKeyMaterial()); in importKey_storesTheWrappedVersionOfTheRawMaterial()
/frameworks/base/libs/securebox/src/com/android/security/
DSecureBox.java314 byte[] pseudorandomKey = mac.doFinal(secret); in hkdfDeriveKey()
324 byte[] hkdfOutput = mac.doFinal(CONSTANT_01); in hkdfDeriveKey()
367 return cipher.doFinal(text); in aesGcmInternal()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaResponse.java283 byte[] output = mac.doFinal(message); in calculateMac()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformAdbRestoreTask.java246 byte[] mkBlob = c.doFinal(mkCipher); in attemptEncryptionKeyDecryption()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DPinStorage.java1162 encryptedPin.encryptedStoredPin = cipher.doFinal(input); in encrypt()
1187 return cipher.doFinal(encryptedPin.encryptedStoredPin); in decrypt()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformAdbBackupTask.java217 byte[] encryptedMk = mkC.doFinal(blob.toByteArray()); in emitAesBackupHeader()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java3037 final String ssaid = HexEncoding.encodeToString(m.doFinal(), false /* upperCase */)

12