Home
last modified time | relevance | path

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

/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/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1926 try (FileInputStream keyStream = mAtomicKeyFile.openRead()) { in getKeyMap() argument
1928 parser.setInput(keyStream, StandardCharsets.UTF_8.name()); in getKeyMap()
1998 try (FileInputStream keyStream = mAtomicKeyFile.openRead()) { in getKeyMapBeforeKeystoreVersion() argument
2000 parser.setInput(keyStream, StandardCharsets.UTF_8.name()); in getKeyMapBeforeKeystoreVersion()
2049 try (FileInputStream keyStream = mAtomicKeyFile.openRead()) { in getTrustedNetworks() argument
2051 parser.setInput(keyStream, StandardCharsets.UTF_8.name()); in getTrustedNetworks()
2134 FileOutputStream keyStream = null; in persistKeyStore() local
2137 keyStream = mAtomicKeyFile.startWrite(); in persistKeyStore()
2138 serializer.setOutput(keyStream, StandardCharsets.UTF_8.name()); in persistKeyStore()
2157 mAtomicKeyFile.finishWrite(keyStream); in persistKeyStore()
[all …]
/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()