Searched refs:pEncryptedKey (Results 1 - 2 of 2) sorted by relevance
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.h | 56 * @param[out] pEncryptedKey A reference to the buffer containing the encrypted key. 63 void *pEncryptedKey, 69 * @param[in] pEncryptedKey A reference to the buffer containing the encrypted key. 76 int FwdLockGlue_DecryptKey(const void *pEncryptedKey,
|
H A D | FwdLockGlue.c | 150 void *pEncryptedKey, 159 memcpy(pEncryptedKey, pPlaintextKey, plaintextKeyLength); 160 memset((unsigned char *)pEncryptedKey + plaintextKeyLength, (int)padding, padding); 161 memcpy((unsigned char *)pEncryptedKey + dataLength, initVector, AES_BLOCK_SIZE); 162 AES_cbc_encrypt(pEncryptedKey, pEncryptedKey, dataLength, &encryptionRoundKeys, 170 int FwdLockGlue_DecryptKey(const void *pEncryptedKey, argument 181 memcpy(pData, pEncryptedKey, dataLength); 182 memcpy(initVector, (const unsigned char *)pEncryptedKey + dataLength, AES_BLOCK_SIZE); 148 FwdLockGlue_EncryptKey(const void *pPlaintextKey, size_t plaintextKeyLength, void *pEncryptedKey, size_t encryptedKeyLength) argument
|
Completed in 90 milliseconds