/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_common.cpp | 396 const hidl_vec<SubSample>& subSamples, const Pattern& pattern, in decrypt() argument 404 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt() 405 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 406 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 427 subSamples, sourceBuffer, offset, destBuffer, 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() 472 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument 482 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt() 483 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt() [all …]
|
D | drm_hal_test.cpp | 305 const vector<SubSample> subSamples = {{.numBytesOfClearData = kSegmentSize, in TEST_P() local 314 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P() 332 const vector<SubSample> subSamples = {{.numBytesOfClearData = kSegmentSize, in TEST_P() local 341 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P() 358 const vector<SubSample> subSamples = {{.numBytesOfClearData = kSegmentSize, in TEST_P() local 367 … &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::ERROR_DRM_FRAME_TOO_LARGE); in TEST_P() 382 const vector<SubSample> subSamples = {{.numBytesOfClearData = 256, in TEST_P() local 390 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in TEST_P() 476 const vector<SubSample> subSamples = { in TEST_P() local 502 decryptWithInvalidKeys(invalidResponse, iv, noPattern, subSamples); in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 837 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in decrypt() argument 850 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt() 851 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 852 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 873 pattern, subSamples, sourceBuffer, offset, destBuffer, 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() 918 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument 928 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt() 929 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt() [all …]
|
D | drm_hal_vendor_test.cpp | 1132 const hidl_vec<SubSample>& subSamples, const Pattern& pattern, in decrypt() argument 1140 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt() 1141 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 1142 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 1162 subSamples, sourceBuffer, offset, destBuffer, 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() 1207 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument 1218 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt() 1219 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt() [all …]
|
/hardware/interfaces/cas/1.0/default/ |
D | DescramblerImpl.cpp | 93 const hidl_vec<SubSample>& subSamples, in descramble() argument 131 for (size_t i = 0; i < subSamples.size(); i++) { in descramble() 132 totalBytesInSubSamples += (uint64_t)subSamples[i].numBytesOfClearData + in descramble() 133 subSamples[i].numBytesOfEncryptedData; in descramble() 186 subSamples.size(), in descramble() 187 (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
|
D | DescramblerImpl.h | 47 const hidl_vec<SubSample>& subSamples,
|
/hardware/interfaces/cas/1.1/default/ |
D | DescramblerImpl.cpp | 86 const hidl_vec<SubSample>& subSamples, in descramble() argument 121 for (size_t i = 0; i < subSamples.size(); i++) { in descramble() 123 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble() 175 subSamples.size(), (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
|
D | DescramblerImpl.h | 47 const hidl_vec<SubSample>& subSamples,
|
/hardware/interfaces/cas/1.2/default/ |
D | DescramblerImpl.cpp | 86 const hidl_vec<SubSample>& subSamples, in descramble() argument 121 for (size_t i = 0; i < subSamples.size(); i++) { in descramble() 123 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble() 175 subSamples.size(), (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
|
D | DescramblerImpl.h | 47 const hidl_vec<SubSample>& subSamples,
|
/hardware/interfaces/drm/1.0/default/ |
D | CryptoPlugin.cpp | 64 const Pattern& pattern, const hidl_vec<SubSample>& subSamples, in decrypt() argument 102 std::make_unique<android::CryptoPlugin::SubSample[]>(subSamples.size()); in decrypt() 105 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt() 106 uint32_t numBytesOfClearData = subSamples[i].numBytesOfClearData; in decrypt() 108 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in decrypt() 171 subSamples.size(), destPtr, &detailMessage); in decrypt()
|
D | CryptoPlugin.h | 65 const hidl_vec<SubSample>& subSamples, const SharedBuffer& source,
|
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/ |
D | drm_hal_clearkey_test.h | 185 uint32_t decrypt(Mode mode, uint8_t* iv, const hidl_vec<SubSample>& subSamples, 188 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 190 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 192 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
|
D | drm_hal_vendor_test.h | 195 const hidl_vec<SubSample>& subSamples, const Pattern& pattern, 198 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 200 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
|
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/ |
D | drm_hal_common.h | 116 const hidl_vec<SubSample>& subSamples, const Pattern& pattern, 119 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 121 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key); 149 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
|
/hardware/interfaces/cas/1.0/vts/functional/ |
D | VtsHalCasV1_0TargetTest.cpp | 242 const SubSample* subSamples; member 366 const_cast<SubSample*>(params.subSamples), params.numSubSamples, false /*own*/); in descrambleTestOobInput() 735 .subSamples = kSubSamples, in TEST_F() 750 .subSamples = kSubSamples, in TEST_F() 765 .subSamples = kSubSamples, in TEST_F() 780 .subSamples = kSubSamples, in TEST_F() 795 .subSamples = kSubSamples, in TEST_F() 813 .subSamples = invalidSubSamples1, in TEST_F() 831 .subSamples = invalidSubSamples2, in TEST_F()
|
/hardware/interfaces/cas/native/1.0/ |
D | IDescrambler.hal | 32 * @param subSamples an array of SubSample structures describing the number of 43 descramble(ScramblingControl scramblingControl, vec<SubSample> subSamples,
|
/hardware/interfaces/drm/1.2/ |
D | ICryptoPlugin.hal | 48 * @param subSamples a vector of subsamples indicating the number 81 Pattern pattern, vec<SubSample> subSamples,
|
/hardware/interfaces/drm/1.0/ |
D | ICryptoPlugin.hal | 89 * @param subSamples a vector of subsamples indicating the number 111 Pattern pattern, vec<SubSample> subSamples,
|
/hardware/interfaces/cas/1.1/vts/functional/ |
D | VtsHalCasV1_1TargetTest.cpp | 285 const SubSample* subSamples; member 402 hidlSubSamples.setToExternal(const_cast<SubSample*>(params.subSamples), params.numSubSamples, in descrambleTestOobInput()
|
/hardware/google/av/media/sfplugin/ |
D | CCodecBufferChannel.h | 66 const CryptoPlugin::SubSample *subSamples,
|
D | CCodecBufferChannel.cpp | 1719 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer() argument 1747 subSamples, numSubSamples, destination, errorDetailMsg); in queueSecureInputBuffer() 1758 hidlSubSamples.setToExternal((SubSample *)subSamples, numSubSamples, false /*own*/); in queueSecureInputBuffer()
|
/hardware/interfaces/cas/1.2/vts/functional/ |
D | VtsHalCasV1_2TargetTest.cpp | 327 const SubSample* subSamples; member 446 hidlSubSamples.setToExternal(const_cast<SubSample*>(params.subSamples), params.numSubSamples, in descrambleTestOobInput()
|