Searched refs:signingContext (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c70 HMAC_CTX signingContext; member in struct:FwdLockFile_Session
197 HMAC_CTX_init(&pSession->signingContext);
198 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
357 HMAC_CTX_cleanup(&sessionPtrs[sessionId]->signingContext);
388 HMAC_Update(&pSession->signingContext, pData->buffer, (size_t)numBytesRead);
393 HMAC_Final(&pSession->signingContext, pData->signature, &signatureSize);
397 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL);
416 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE);
417 HMAC_Update(&pSession->signingContext, (unsigned char *)pSession->pContentType,
419 HMAC_Update(&pSession->signingContext, pSessio
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c147 HMAC_CTX signingContext; member in struct:FwdLockConv_Session
266 HMAC_CTX_init(&pSession->signingContext);
267 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
1188 HMAC_Update(&pSession->signingContext,
1211 HMAC_Final(&pSession->signingContext, pOutput->fromCloseSession.signatures,
1218 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL);
1219 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE);
1220 HMAC_Update(&pSession->signingContext, (unsigned char *)pSession->contentType.ptr,
1222 HMAC_Update(&pSession->signingContext, pSession->pEncryptedSessionKey,
1224 HMAC_Update(&pSession->signingContext, pOutpu
[all...]

Completed in 241 milliseconds