/ohos5.0/drivers/peripheral/clearplay/hdi_service/src/ |
H A D | media_decrypt_module_service.cpp | 46 int32_t MediaDecryptModuleService::DecryptMediaData(bool secure, const CryptoInfo &cryptoInfo, in DecryptMediaData() argument 60 ret = session_->getKeyValueByKeyId(cryptoInfo.keyId, key); in DecryptMediaData() 68 for (auto &subSample : cryptoInfo.subSamples) { in DecryptMediaData() 97 switch (cryptoInfo.type) { in DecryptMediaData() 99 ret = CopyBuffer(srcData, destData, cryptoInfo.subSamples); in DecryptMediaData() 102 ret = DecryptByAesCbc(key, cryptoInfo.iv, srcData, destData, cryptoInfo.subSamples); in DecryptMediaData() 105 ret = DecryptByAesCbc(key, cryptoInfo.iv, srcData, destData, cryptoInfo.subSamples); in DecryptMediaData() 109 ret = DecryptBySM4Cbc(key, cryptoInfo.iv, srcData, destData, cryptoInfo.subSamples); in DecryptMediaData()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/drm/ |
H A D | interface_i_media_decrypt_module.md | 20 …adata) ([in] boolean secure, [in] struct [CryptoInfo](_crypto_info.md) cryptoInfo, [in] struct [Dr… 30 IMediaDecryptModule::DecryptMediaData ([in] boolean secure, [in] struct CryptoInfo cryptoInfo, [in]… 43 | cryptoInfo | 密钥标识及数据加密的相关信息。 |
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/drm_v1_0/cpp_target/drm/v1_0/ |
H A D | media_decrypt_module_proxy.cpp.txt | 33 …const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo, const OHOS::HDI::Drm::V1_0::DrmBuffer& srcBuff… 35 …return OHOS::HDI::Drm::V1_0::MediaDecryptModuleProxy::DecryptMediaData_(secure, cryptoInfo, srcBuf… 49 …const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo, const OHOS::HDI::Drm::V1_0::DrmBuffer& srcBuff… 65 if (!OHOS::HDI::Drm::V1_0::CryptoInfoBlockMarshalling(mediaDecryptModuleData, cryptoInfo)) { 66 HDF_LOGE("%{public}s: write cryptoInfo failed!", __func__);
|
H A D | media_decrypt_module_stub.cpp.txt | 83 OHOS::HDI::Drm::V1_0::CryptoInfo cryptoInfo; 84 if (!CryptoInfoBlockUnmarshalling(mediaDecryptModuleData, cryptoInfo)) { 85 HDF_LOGE("%{public}s: read cryptoInfo failed!", __func__); 106 … int32_t mediaDecryptModuleRet = impl->DecryptMediaData(secure, cryptoInfo, srcBuffer, destBuffer);
|
H A D | media_decrypt_module_proxy.h.txt | 38 int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo, 45 … static int32_t DecryptMediaData_(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
|
H A D | media_decrypt_module_service.cpp.txt | 25 …yptModuleService::DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
|
H A D | media_decrypt_module_service.h.txt | 30 int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
|
H A D | imedia_decrypt_module.h.txt | 64 … virtual int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
|
/ohos5.0/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/ |
H A D | media_decrypt_module_proxy.h | 38 int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo, 45 … static int32_t DecryptMediaData_(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
|
H A D | imedia_decrypt_module.h | 64 … virtual int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
|
/ohos5.0/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/ |
H A D | media_decrypt_module_service.h | 31 int32_t DecryptMediaData(bool secure, const CryptoInfo& cryptoInfo, const DrmBuffer& srcBuffer,
|
/ohos5.0/drivers/interface/drm/v1_0/ |
H A D | IMediaDecryptModule.idl | 38 …DecryptMediaData([in] boolean secure, [in] struct CryptoInfo cryptoInfo, [in] struct DrmBuffer src…
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/drm_v1_0/foo/drm/v1_0/ |
H A D | IMediaDecryptModule.idl | 38 …DecryptMediaData([in] boolean secure, [in] struct CryptoInfo cryptoInfo, [in] struct DrmBuffer src…
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/drmservice_fuzzer/ |
H A D | drmservice_fuzzer.h | 318 int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo &cryptoInfo, in DecryptMediaData() argument
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/drm_v1_0/dump_ast_target/ |
H A D | dump.txt | 155 [in] ohos.hdi.drm.v1_0.CryptoInfo cryptoInfo,
|