Searched refs:initVector (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 155 unsigned char initVector[AES_BLOCK_SIZE]; in FwdLockGlue_EncryptKey() local 156 if (FwdLockGlue_GetRandomNumber(initVector, AES_BLOCK_SIZE)) { in FwdLockGlue_EncryptKey() 161 memcpy((unsigned char *)pEncryptedKey + dataLength, initVector, AES_BLOCK_SIZE); in FwdLockGlue_EncryptKey() 163 initVector, AES_ENCRYPT); in FwdLockGlue_EncryptKey() 180 unsigned char initVector[AES_BLOCK_SIZE]; in FwdLockGlue_DecryptKey() local 182 memcpy(initVector, (const unsigned char *)pEncryptedKey + dataLength, AES_BLOCK_SIZE); in FwdLockGlue_DecryptKey() 183 AES_cbc_encrypt(pData, pData, dataLength, &decryptionRoundKeys, initVector, in FwdLockGlue_DecryptKey()
|