Searched refs:localIv (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_common.cpp | 400 uint8_t localIv[AES_BLOCK_SIZE]; in decrypt() local 401 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 426 auto res = cryptoPlugin->decrypt_1_2(isSecure, keyId, localIv, mode, pattern, in decrypt() 444 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 450 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt() 453 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 846 uint8_t localIv[AES_BLOCK_SIZE]; in decrypt() local 847 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 872 auto res = cryptoPlugin->decrypt(kNotSecure, toHidlArray(keyId), localIv, mode, in decrypt() 890 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 896 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, contentKey); in decrypt() 899 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, contentKey); in decrypt()
|
D | drm_hal_vendor_test.cpp | 1136 uint8_t localIv[AES_BLOCK_SIZE]; in decrypt() local 1137 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 1161 auto res = cryptoPlugin->decrypt(isSecure, keyId, localIv, mode, pattern, in decrypt() 1179 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 1185 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt() 1188 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
|