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.c238 * @param[in,out] pSession A reference to a converter session.
242 static int FwdLockConv_DeriveKeys(FwdLockConv_Session_t *pSession) { argument
254 if (AES_set_encrypt_key(pSession->sessionKey, KEY_SIZE_IN_BITS,
262 &pSession->encryptionRoundKeys) != 0) {
268 HMAC_CTX_init(&pSession->signingContext);
269 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
309 * @param[in,out] pSession A reference to a converter session.
313 static FwdLockConv_Status_t FwdLockConv_RightTrimDelimiter(FwdLockConv_Session_t *pSession) { argument
314 while (pSession->delimiterLength > 4 &&
315 pSession
332 FwdLockConv_MatchOpenDelimiter(FwdLockConv_Session_t *pSession, int ch) argument
470 FwdLockConv_RecognizeMimeHeaderName(FwdLockConv_Session_t *pSession) argument
502 FwdLockConv_ApplyDefaults(FwdLockConv_Session_t *pSession) argument
527 FwdLockConv_VerifyContentType(FwdLockConv_Session_t *pSession) argument
548 FwdLockConv_WriteHeader(FwdLockConv_Session_t *pSession, FwdLockConv_Output_t *pOutput) argument
594 FwdLockConv_MatchMimeHeaders(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
817 FwdLockConv_IncrementCounter(FwdLockConv_Session_t *pSession) argument
832 FwdLockConv_WriteEncryptedChar(FwdLockConv_Session_t *pSession, unsigned char ch, FwdLockConv_Output_t *pOutput) argument
866 FwdLockConv_MatchBinaryEncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
934 FwdLockConv_MatchBase64EncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1075 FwdLockConv_PushChar(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1119 FwdLockConv_Session_t *pSession = sessionPtrs[*pSessionId]; local
1176 FwdLockConv_Session_t *pSession = sessionPtrs[sessionId]; local
1205 FwdLockConv_Session_t *pSession = sessionPtrs[sessionId]; local
[all...]

Completed in 60 milliseconds