Home
last modified time | relevance | path

Searched refs:decryptedKeyLength (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c113 static int FwdLockGlue_ValidatePadding(const unsigned char *pData, size_t decryptedKeyLength) { in FwdLockGlue_ValidatePadding() argument
115 size_t padding = AES_BLOCK_SIZE - (decryptedKeyLength % AES_BLOCK_SIZE); in FwdLockGlue_ValidatePadding()
116 pData += decryptedKeyLength; in FwdLockGlue_ValidatePadding()
173 size_t decryptedKeyLength) { in FwdLockGlue_DecryptKey() argument
175 assert(encryptedKeyLength == FwdLockGlue_GetEncryptedKeyLength(decryptedKeyLength)); in FwdLockGlue_DecryptKey()
185 memcpy(pDecryptedKey, pData, decryptedKeyLength); in FwdLockGlue_DecryptKey()
186 result = FwdLockGlue_ValidatePadding(pData, decryptedKeyLength); in FwdLockGlue_DecryptKey()
DFwdLockGlue.h79 size_t decryptedKeyLength);