Home
last modified time | relevance | path

Searched refs:numBytesOfEncryptedData (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp110 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in decrypt() local
111 legacySubSamples[i].mNumBytesOfEncryptedData = numBytesOfEncryptedData; in decrypt()
116 if (__builtin_add_overflow(destSize, numBytesOfEncryptedData, &destSize)) { in decrypt()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp852 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
936 if (subSample.numBytesOfEncryptedData > 0) { in aes_ctr_decrypt()
938 subSample.numBytesOfEncryptedData, &decryptionKey, in aes_ctr_decrypt()
940 offset += subSample.numBytesOfEncryptedData; in aes_ctr_decrypt()
960 AES_cbc_encrypt(src + offset, dest + offset, subSamples[i].numBytesOfEncryptedData, in aes_cbc_decrypt()
962 offset += subSamples[i].numBytesOfEncryptedData; in aes_cbc_decrypt()
987 .numBytesOfEncryptedData = 0}}; in TEST_P()
1010 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_P()
1030 .numBytesOfEncryptedData = 256}}; in TEST_P()
1078 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_P()
[all …]
Ddrm_hal_vendor_test.cpp1142 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
1226 if (subSample.numBytesOfEncryptedData > 0) { in aes_ctr_decrypt()
1228 subSample.numBytesOfEncryptedData, &decryptionKey, in aes_ctr_decrypt()
1230 offset += subSample.numBytesOfEncryptedData; in aes_ctr_decrypt()
1252 AES_cbc_encrypt(src + offset, dest + offset, subSample.numBytesOfEncryptedData, in aes_cbc_decrypt()
1254 offset += subSample.numBytesOfEncryptedData; in aes_cbc_decrypt()
1310 .numBytesOfEncryptedData = 0}}; in TEST_P()
1338 .numBytesOfEncryptedData = 0}}; in TEST_P()
1364 .numBytesOfEncryptedData = 256}}; in TEST_P()
1391 .numBytesOfEncryptedData = 256}}; in TEST_P()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp306 .numBytesOfEncryptedData = 0}}; in TEST_P()
333 .numBytesOfEncryptedData = 0}}; in TEST_P()
359 .numBytesOfEncryptedData = 0}}; in TEST_P()
383 .numBytesOfEncryptedData = 256}}; in TEST_P()
478 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_P()
515 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_P()
Ddrm_hal_common.cpp406 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
490 if (subSample.numBytesOfEncryptedData > 0) { in aes_ctr_decrypt()
492 subSample.numBytesOfEncryptedData, &decryptionKey, in aes_ctr_decrypt()
494 offset += subSample.numBytesOfEncryptedData; in aes_ctr_decrypt()
514 AES_cbc_encrypt(src + offset, dest + offset, subSamples[i].numBytesOfEncryptedData, in aes_cbc_decrypt()
516 offset += subSamples[i].numBytesOfEncryptedData; in aes_cbc_decrypt()
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.cpp44 static_assert(offsetof(SubSample, numBytesOfEncryptedData) == \
123 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble()
/hardware/interfaces/cas/1.0/default/
DDescramblerImpl.cpp46 static_assert(offsetof(SubSample, numBytesOfEncryptedData) \
133 subSamples[i].numBytesOfEncryptedData; in descramble()
/hardware/interfaces/cas/1.2/default/
DDescramblerImpl.cpp44 static_assert(offsetof(SubSample, numBytesOfEncryptedData) == \
123 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble()
/hardware/interfaces/cas/native/1.0/
Dtypes.hal35 uint32_t numBytesOfEncryptedData;
/hardware/interfaces/drm/1.0/
Dtypes.hal272 uint32_t numBytesOfEncryptedData;