Home
last modified time | relevance | path

Searched refs:keyStream (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java907 try (FileInputStream keyStream = mAtomicKeyFile.openRead()) { in getKeyMap() argument
909 parser.setInput(keyStream, StandardCharsets.UTF_8.name()); in getKeyMap()
986 FileOutputStream keyStream = null; in persistKeyStore() local
989 keyStream = mAtomicKeyFile.startWrite(); in persistKeyStore()
990 serializer.setOutput(keyStream, StandardCharsets.UTF_8.name()); in persistKeyStore()
1002 mAtomicKeyFile.finishWrite(keyStream); in persistKeyStore()
1005 mAtomicKeyFile.failWrite(keyStream); in persistKeyStore()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c71 unsigned char keyStream[AES_BLOCK_SIZE]; member
252 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys); in FwdLockFile_DecryptByte()
255 *pByte ^= pSession->keyStream[blockOffset]; in FwdLockFile_DecryptByte()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c151 unsigned char keyStream[AES_BLOCK_SIZE]; member
850 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys); in FwdLockConv_WriteEncryptedChar()
852 ch ^= pSession->keyStream[pSession->keyStreamIndex]; in FwdLockConv_WriteEncryptedChar()