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

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.h72 * @param[in] decryptedKeyLength The length in bytes of the decrypted key.
79 size_t decryptedKeyLength);
H A DFwdLockGlue.c109 * @param[in] decryptedKeyLength The length in bytes of the decrypted key.
113 static int FwdLockGlue_ValidatePadding(const unsigned char *pData, size_t decryptedKeyLength) { argument
115 size_t padding = AES_BLOCK_SIZE - (decryptedKeyLength % AES_BLOCK_SIZE);
116 pData += decryptedKeyLength;
173 size_t decryptedKeyLength) {
175 assert(encryptedKeyLength == FwdLockGlue_GetEncryptedKeyLength(decryptedKeyLength));
185 memcpy(pDecryptedKey, pData, decryptedKeyLength);
186 result = FwdLockGlue_ValidatePadding(pData, decryptedKeyLength);
170 FwdLockGlue_DecryptKey(const void *pEncryptedKey, size_t encryptedKeyLength, void *pDecryptedKey, size_t decryptedKeyLength) argument

Completed in 252 milliseconds