/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/aidl/default/ |
D | DescramblerImpl.cpp | 83 const vector<SubSample>& subSamples, in descramble() argument 118 for (size_t i = 0; i < subSamples.size(); i++) { in descramble() 119 uint32_t numBytesOfClearData = subSamples[i].numBytesOfClearData; in descramble() 120 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in descramble() 173 subSamples.size(), (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
|
/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()
|
/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()
|
/hardware/interfaces/cas/1.0/default/ |
D | DescramblerImpl.cpp | 92 const hidl_vec<SubSample>& subSamples, in descramble() argument 130 for (size_t i = 0; i < subSamples.size(); i++) { in descramble() 131 totalBytesInSubSamples += (uint64_t)subSamples[i].numBytesOfClearData + in descramble() 132 subSamples[i].numBytesOfEncryptedData; in descramble() 185 subSamples.size(), in descramble() 186 (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
|
D | DescramblerImpl.h | 47 const hidl_vec<SubSample>& subSamples,
|
/hardware/interfaces/drm/aidl/vts/ |
D | drm_hal_common.cpp | 483 uint8_t* iv, const vector<SubSample>& subSamples, in decrypt() argument 494 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt() 495 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 496 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 522 args.subSamples = subSamples; in decrypt() 545 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt() 548 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt() 568 const vector<SubSample>& subSamples, const vector<uint8_t>& key) { in aes_ctr_decrypt() argument 577 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt() 578 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt() [all …]
|
D | drm_hal_test.cpp | 297 const vector<SubSample> subSamples = { in TEST_P() local 307 subSamples, noPattern, key.clearContentKey, Status::OK); in TEST_P() 325 const vector<SubSample> subSamples = { in TEST_P() local 334 subSamples, noPattern, key.clearContentKey, Status::OK); in TEST_P() 351 const vector<SubSample> subSamples = { in TEST_P() local 359 decrypt(Mode::UNENCRYPTED, key.isSecure, toStdArray(key.keyId), &iv[0], subSamples, in TEST_P() 375 const vector<SubSample> subSamples = { in TEST_P() local 383 decrypt(Mode::AES_CTR, key.isSecure, toStdArray(key.keyId), &iv[0], subSamples, in TEST_P() 508 const vector<SubSample> subSamples = { in TEST_P() local 532 decryptWithInvalidKeys(invalidResponse, iv, noPattern, subSamples); in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/default/ |
D | CryptoPlugin.cpp | 66 const Pattern& pattern, const hidl_vec<SubSample>& subSamples, in decrypt() argument 104 std::make_unique<android::CryptoPlugin::SubSample[]>(subSamples.size()); in decrypt() 107 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt() 108 uint32_t numBytesOfClearData = subSamples[i].numBytesOfClearData; in decrypt() 110 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in decrypt() 184 subSamples.size(), destPtr, &detailMessage); in decrypt()
|
/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/aidl/vts/functional/ |
D | VtsHalCasAidlTargetTest.cpp | 279 const SubSample* subSamples; member 394 vector<SubSample> subSample(params.subSamples, params.subSamples + params.numSubSamples); in descrambleTestOobInput() 737 {.subSamples = kSubSamples, in TEST_P() 749 {.subSamples = kSubSamples, in TEST_P() 761 {.subSamples = kSubSamples, in TEST_P() 773 {.subSamples = kSubSamples, in TEST_P() 785 {.subSamples = kSubSamples, in TEST_P() 799 {.subSamples = invalidSubSamples1, in TEST_P() 813 {.subSamples = invalidSubSamples2, in TEST_P()
|
/hardware/interfaces/drm/aidl/vts/include/ |
D | drm_hal_common.h | 121 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples, 126 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples, 129 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples, 162 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples);
|
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/ |
D | DecryptArgs.aidl | 42 android.hardware.drm.SubSample[] subSamples;
|
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/ |
D | DecryptArgs.aidl | 42 android.hardware.drm.SubSample[] subSamples;
|
/hardware/interfaces/cas/aidl/aidl_api/android.hardware.cas/1/android/hardware/cas/ |
D | IDescrambler.aidl | 38 …ramblingControl scramblingControl, in android.hardware.cas.SubSample[] subSamples, in android.hard… in descramble() argument
|
/hardware/interfaces/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ |
D | IDescrambler.aidl | 38 …ramblingControl scramblingControl, in android.hardware.cas.SubSample[] subSamples, in android.hard… in descramble() argument
|
/hardware/interfaces/drm/aidl/android/hardware/drm/ |
D | DecryptArgs.aidl | 69 SubSample[] subSamples;
|
/hardware/interfaces/cas/aidl/android/hardware/cas/ |
D | IDescrambler.aidl | 45 int descramble(in ScramblingControl scramblingControl, in SubSample[] subSamples, in descramble() argument
|
/hardware/interfaces/cas/1.0/vts/functional/ |
D | VtsHalCasV1_0TargetTest.cpp | 236 const SubSample* subSamples; member 372 const_cast<SubSample*>(params.subSamples), params.numSubSamples, false /*own*/); in descrambleTestOobInput() 750 {.subSamples = kSubSamples, in TEST_P() 762 {.subSamples = kSubSamples, in TEST_P() 774 {.subSamples = kSubSamples, in TEST_P() 786 {.subSamples = kSubSamples, in TEST_P() 798 {.subSamples = kSubSamples, in TEST_P() 812 {.subSamples = invalidSubSamples1, in TEST_P() 826 {.subSamples = invalidSubSamples2, in TEST_P()
|
/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,
|