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/media/ndk/include/media/
DNdkMediaDrm.h517 uint8_t *signature, size_t *signatureSize) __INTRODUCED_IN(21);
528 const uint8_t *signature, size_t signatureSize) __INTRODUCED_IN(21);
/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()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp819 uint8_t *signature, size_t *signatureSize) { in AMediaDrm_sign() argument
846 if (signatureVec.size() > *signatureSize) { in AMediaDrm_sign()
858 const uint8_t *signature, size_t signatureSize) { in AMediaDrm_verify() argument
884 signatureVec.appendArray(signature, signatureSize); in AMediaDrm_verify()