Home
last modified time | relevance | path

Searched refs:aesStart (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c1259 static int32_t drm_readAesData(uint8_t* buf, T_DRM_Session_Node* s, int32_t aesStart, int32_t bufLe… in drm_readAesData() argument
1261 if (NULL == buf || NULL == s || aesStart < 0 || bufLen < 0) in drm_readAesData()
1264 … if (aesStart - s->contentOffset + bufLen > ((T_DRM_Dcf_Node *)(s->infoStruct))->encContentLength) in drm_readAesData()
1267 if (aesStart < DRM_MAX_MALLOC_LEN) { in drm_readAesData()
1268 if (aesStart + bufLen <= DRM_MAX_MALLOC_LEN) { /* read from buffer */ in drm_readAesData()
1269 memcpy(buf, s->rawContent + aesStart, bufLen); in drm_readAesData()
1272 int32_t point = DRM_MAX_MALLOC_LEN - aesStart; in drm_readAesData()
1283 memcpy(buf, s->rawContent + aesStart, point); in drm_readAesData()
1579 int32_t aesStart, mediaStart, mediaBufOff; in drm_readAesContent() local
1598 aesStart = s->contentOffset + (offset / DRM_ONE_AES_BLOCK_LEN * DRM_ONE_AES_BLOCK_LEN); in drm_readAesContent()
[all …]