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
200 HMAC_CTX_init(&pSession->signingContext);
201 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
360 HMAC_CTX_cleanup(&sessionPtrs[sessionId]->signingContext);
391 HMAC_Update(&pSession->signingContext, pData->buffer, (size_t)numBytesRead);
396 HMAC_Final(&pSession->signingContext, pData->signature, &signatureSize);
400 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL);
419 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE);
420 HMAC_Update(&pSession->signingContext, (unsigned char *)pSession->pContentType,
422 HMAC_Update(&pSession->signingContext, pSessio
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c148 HMAC_CTX signingContext; member in struct:FwdLockConv_Session
269 HMAC_CTX_init(&pSession->signingContext);
270 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
1191 HMAC_Update(&pSession->signingContext,
1214 HMAC_Final(&pSession->signingContext, pOutput->fromCloseSession.signatures,
1221 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL);
1222 HMAC_Update(&pSession->signingContext, pSession->topHeader, TOP_HEADER_SIZE);
1223 HMAC_Update(&pSession->signingContext, (unsigned char *)pSession->contentType.ptr,
1225 HMAC_Update(&pSession->signingContext, pSession->pEncryptedSessionKey,
1227 HMAC_Update(&pSession->signingContext, pOutpu
[all...]

Completed in 162 milliseconds