Home
last modified time | relevance | path

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

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c388 unsigned int signatureSize = SHA1_HASH_SIZE; in FwdLockFile_CheckDataIntegrity() local
396 HMAC_Final(&pSession->signingContext, pData->signature, &signatureSize); in FwdLockFile_CheckDataIntegrity()
397 assert(signatureSize == SHA1_HASH_SIZE); in FwdLockFile_CheckDataIntegrity()
418 unsigned int signatureSize = SHA1_HASH_SIZE; in FwdLockFile_CheckHeaderIntegrity() local
425 HMAC_Final(&pSession->signingContext, signature, &signatureSize); in FwdLockFile_CheckHeaderIntegrity()
426 assert(signatureSize == SHA1_HASH_SIZE); in FwdLockFile_CheckHeaderIntegrity()
/frameworks/av/include/ndk/
DNdkMediaDrm.h438 uint8_t *signature, size_t *signatureSize);
449 const uint8_t *signature, size_t signatureSize);
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp649 uint8_t *signature, size_t *signatureSize) { in AMediaDrm_sign() argument
676 if (signatureVec.size() > *signatureSize) { in AMediaDrm_sign()
688 const uint8_t *signature, size_t signatureSize) { in AMediaDrm_verify() argument
714 signatureVec.appendArray(signature, signatureSize); in AMediaDrm_verify()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c1213 unsigned int signatureSize = SHA1_HASH_SIZE; in FwdLockConv_CloseSession() local
1215 &signatureSize); in FwdLockConv_CloseSession()
1216 if (signatureSize != SHA1_HASH_SIZE) { in FwdLockConv_CloseSession()
1230 &pOutput->fromCloseSession.signatures[SHA1_HASH_SIZE], &signatureSize); in FwdLockConv_CloseSession()
1231 if (signatureSize != SHA1_HASH_SIZE) { in FwdLockConv_CloseSession()