HomeSort by relevance Sort by last modified time
    Searched defs:pSession (Results 1 - 2 of 2) sorted by null

  /frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c 165 * @param[in,out] pSession A reference to a file session.
169 static int FwdLockFile_DeriveKeys(FwdLockFile_Session_t * pSession) {
179 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey,
180 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
189 &pSession->encryptionRoundKeys) != 0) {
195 HMAC_CTX_init(&pSession->signingContext);
196 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
237 * @param[in,out] pSession A reference to a file session.
240 void FwdLockFile_DecryptByte(FwdLockFile_Session_t * pSession, unsigned char *pByte) {
241 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE
    [all...]
  /frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.c 238 * @param[in,out] pSession A reference to a converter session.
242 static int FwdLockConv_DeriveKeys(FwdLockConv_Session_t *pSession) {
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) {
312 while (pSession->delimiterLength > 4 &&
313 pSession->delimiter[pSession->delimiterLength - 1] == ' ')
    [all...]

Completed in 169 milliseconds