Searched refs:topHeader (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 60 unsigned char topHeader[TOP_HEADER_SIZE]; member 263 if (read(fileDesc, pSession->topHeader, TOP_HEADER_SIZE) == TOP_HEADER_SIZE && in FwdLockFile_attach() 264 memcmp(pSession->topHeader, topHeaderTemplate, sizeof topHeaderTemplate) == 0) { in FwdLockFile_attach() 265 pSession->contentTypeLength = pSession->topHeader[CONTENT_TYPE_LENGTH_POS]; in FwdLockFile_attach() 419 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockFile_CheckHeaderIntegrity()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 149 unsigned char topHeader[TOP_HEADER_SIZE]; member 564 memcpy(pSession->topHeader, topHeaderTemplate, sizeof topHeaderTemplate); in FwdLockConv_WriteHeader() 565 pSession->topHeader[CONTENT_TYPE_LENGTH_POS] = in FwdLockConv_WriteHeader() 567 memcpy(pOutput->fromConvertData.pBuffer, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockConv_WriteHeader() 1222 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockConv_CloseSession()
|