Home
last modified time | relevance | path

Searched refs:localIv (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp400 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/
Ddrm_hal_clearkey_test.cpp846 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()
Ddrm_hal_vendor_test.cpp1136 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()