Searched refs:pEncryptedSessionKey (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 63 void *pEncryptedSessionKey; member 103 sessionPtrs[candidateSessionId]->pEncryptedSessionKey = NULL; in FwdLockFile_AcquireSession() 157 free(sessionPtrs[sessionId]->pEncryptedSessionKey); in FwdLockFile_ReleaseSession() 184 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey, in FwdLockFile_DeriveKeys() 251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter); in FwdLockFile_DecryptByte() 273 pSession->pEncryptedSessionKey = malloc(pSession->encryptedSessionKeyLength); in FwdLockFile_attach() 274 if (pSession->pEncryptedSessionKey != NULL && in FwdLockFile_attach() 275 read(fileDesc, pSession->pEncryptedSessionKey, in FwdLockFile_attach() 422 HMAC_Update(&pSession->signingContext, pSession->pEncryptedSessionKey, in FwdLockFile_CheckHeaderIntegrity()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 145 void *pEncryptedSessionKey; member 571 pSession->pEncryptedSessionKey, pSession->encryptedSessionKeyLength); in FwdLockConv_WriteHeader() 1127 pSession->pEncryptedSessionKey = malloc(pSession->encryptedSessionKeyLength); in FwdLockConv_OpenSession() 1128 if (pSession->pEncryptedSessionKey == NULL) { in FwdLockConv_OpenSession() 1134 pSession->pEncryptedSessionKey, in FwdLockConv_OpenSession() 1142 memcpy(pSession->counter, pSession->pEncryptedSessionKey, AES_BLOCK_SIZE); in FwdLockConv_OpenSession() 1155 free(pSession->pEncryptedSessionKey); in FwdLockConv_OpenSession() 1225 HMAC_Update(&pSession->signingContext, pSession->pEncryptedSessionKey, in FwdLockConv_CloseSession() 1243 free(pSession->pEncryptedSessionKey); in FwdLockConv_CloseSession()
|