Searched defs:pSession (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c167 * @param[in,out] pSession A reference to a file session.
171 static int FwdLockFile_DeriveKeys(FwdLockFile_Session_t * pSession) { argument
184 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey,
185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
194 &pSession->encryptionRoundKeys) != 0) {
200 HMAC_CTX_init(&pSession->signingContext);
201 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
242 * @param[in,out] pSession A reference to a file session.
245 void FwdLockFile_DecryptByte(FwdLockFile_Session_t * pSession, unsigned char *pByte) { argument
246 uint64_t blockIndex = pSession
261 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
305 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
322 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
382 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
416 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c239 * @param[in,out] pSession A reference to a converter session.
243 static int FwdLockConv_DeriveKeys(FwdLockConv_Session_t *pSession) { argument
255 if (AES_set_encrypt_key(pSession->sessionKey, KEY_SIZE_IN_BITS,
263 &pSession->encryptionRoundKeys) != 0) {
269 HMAC_CTX_init(&pSession->signingContext);
270 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
310 * @param[in,out] pSession A reference to a converter session.
314 static FwdLockConv_Status_t FwdLockConv_RightTrimDelimiter(FwdLockConv_Session_t *pSession) { argument
315 while (pSession->delimiterLength > 4 &&
316 pSession
333 FwdLockConv_MatchOpenDelimiter(FwdLockConv_Session_t *pSession, int ch) argument
471 FwdLockConv_RecognizeMimeHeaderName(FwdLockConv_Session_t *pSession) argument
503 FwdLockConv_ApplyDefaults(FwdLockConv_Session_t *pSession) argument
528 FwdLockConv_VerifyContentType(FwdLockConv_Session_t *pSession) argument
549 FwdLockConv_WriteHeader(FwdLockConv_Session_t *pSession, FwdLockConv_Output_t *pOutput) argument
595 FwdLockConv_MatchMimeHeaders(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
818 FwdLockConv_IncrementCounter(FwdLockConv_Session_t *pSession) argument
833 FwdLockConv_WriteEncryptedChar(FwdLockConv_Session_t *pSession, unsigned char ch, FwdLockConv_Output_t *pOutput) argument
867 FwdLockConv_MatchBinaryEncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
935 FwdLockConv_MatchBase64EncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1076 FwdLockConv_PushChar(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1120 FwdLockConv_Session_t *pSession = sessionPtrs[*pSessionId]; local
1177 FwdLockConv_Session_t *pSession = sessionPtrs[sessionId]; local
1206 FwdLockConv_Session_t *pSession = sessionPtrs[sessionId]; local
[all...]

Completed in 140 milliseconds