Home
last modified time | relevance | path

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

/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp108 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in decrypt() local
109 legacySubSamples[i].mNumBytesOfEncryptedData = numBytesOfEncryptedData; in decrypt()
114 if (__builtin_add_overflow(destSize, numBytesOfEncryptedData, &destSize)) { in decrypt()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp345 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
429 if (subSample.numBytesOfEncryptedData > 0) { in aes_ctr_decrypt()
431 subSample.numBytesOfEncryptedData, &decryptionKey, in aes_ctr_decrypt()
433 offset += subSample.numBytesOfEncryptedData; in aes_ctr_decrypt()
453 AES_cbc_encrypt(src + offset, dest + offset, subSamples[i].numBytesOfEncryptedData, in aes_cbc_decrypt()
455 offset += subSamples[i].numBytesOfEncryptedData; in aes_cbc_decrypt()
Ddrm_hal_test.cpp324 .numBytesOfEncryptedData = 0}}; in TEST_P()
352 .numBytesOfEncryptedData = 0}}; in TEST_P()
379 .numBytesOfEncryptedData = 0}}; in TEST_P()
404 .numBytesOfEncryptedData = 256}}; in TEST_P()
500 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_P()
537 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_P()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp995 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
1079 if (subSample.numBytesOfEncryptedData > 0) { in aes_ctr_decrypt()
1081 subSample.numBytesOfEncryptedData, &decryptionKey, in aes_ctr_decrypt()
1083 offset += subSample.numBytesOfEncryptedData; in aes_ctr_decrypt()
1103 AES_cbc_encrypt(src + offset, dest + offset, subSamples[i].numBytesOfEncryptedData, in aes_cbc_decrypt()
1105 offset += subSamples[i].numBytesOfEncryptedData; in aes_cbc_decrypt()
1130 .numBytesOfEncryptedData = 0}}; in TEST_F()
1153 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_F()
1173 .numBytesOfEncryptedData = 256}}; in TEST_F()
1221 .numBytesOfEncryptedData = kEncryptedBytes}}; in TEST_F()
[all …]
Ddrm_hal_vendor_test.cpp1326 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
1410 if (subSample.numBytesOfEncryptedData > 0) { in aes_ctr_decrypt()
1412 subSample.numBytesOfEncryptedData, &decryptionKey, in aes_ctr_decrypt()
1414 offset += subSample.numBytesOfEncryptedData; in aes_ctr_decrypt()
1436 AES_cbc_encrypt(src + offset, dest + offset, subSample.numBytesOfEncryptedData, in aes_cbc_decrypt()
1438 offset += subSample.numBytesOfEncryptedData; in aes_cbc_decrypt()
1494 .numBytesOfEncryptedData = 0}}; in TEST_P()
1522 .numBytesOfEncryptedData = 0}}; in TEST_P()
1548 .numBytesOfEncryptedData = 256}}; in TEST_P()
1575 .numBytesOfEncryptedData = 256}}; in TEST_P()
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.cpp43 static_assert(offsetof(SubSample, numBytesOfEncryptedData) == \
122 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble()
/hardware/interfaces/cas/1.0/default/
DDescramblerImpl.cpp45 static_assert(offsetof(SubSample, numBytesOfEncryptedData) \
132 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;