Searched refs: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
181 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey,
182 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
191 &pSession->encryptionRoundKeys) != 0) {
197 HMAC_CTX_init(&pSession->signingContext);
198 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
239 * @param[in,out] pSession A reference to a file session.
242 void FwdLockFile_DecryptByte(FwdLockFile_Session_t * pSession, unsigned char *pByte) { argument
243 uint64_t blockIndex = pSession
258 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
302 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
319 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
379 FwdLockFile_Session_t *pSession = sessionPtrs[sessionId]; local
413 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
252 if (AES_set_encrypt_key(pSession->sessionKey, KEY_SIZE_IN_BITS,
260 &pSession->encryptionRoundKeys) != 0) {
266 HMAC_CTX_init(&pSession->signingContext);
267 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
307 * @param[in,out] pSession A reference to a converter session.
311 static FwdLockConv_Status_t FwdLockConv_RightTrimDelimiter(FwdLockConv_Session_t *pSession) { argument
312 while (pSession->delimiterLength > 4 &&
313 pSession
330 FwdLockConv_MatchOpenDelimiter(FwdLockConv_Session_t *pSession, int ch) argument
468 FwdLockConv_RecognizeMimeHeaderName(FwdLockConv_Session_t *pSession) argument
500 FwdLockConv_ApplyDefaults(FwdLockConv_Session_t *pSession) argument
525 FwdLockConv_VerifyContentType(FwdLockConv_Session_t *pSession) argument
546 FwdLockConv_WriteHeader(FwdLockConv_Session_t *pSession, FwdLockConv_Output_t *pOutput) argument
592 FwdLockConv_MatchMimeHeaders(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
815 FwdLockConv_IncrementCounter(FwdLockConv_Session_t *pSession) argument
830 FwdLockConv_WriteEncryptedChar(FwdLockConv_Session_t *pSession, unsigned char ch, FwdLockConv_Output_t *pOutput) argument
864 FwdLockConv_MatchBinaryEncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
932 FwdLockConv_MatchBase64EncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1073 FwdLockConv_PushChar(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1117 FwdLockConv_Session_t *pSession = sessionPtrs[*pSessionId]; local
1174 FwdLockConv_Session_t *pSession = sessionPtrs[sessionId]; local
1203 FwdLockConv_Session_t *pSession = sessionPtrs[sessionId]; local
[all...]

Completed in 3174 milliseconds