Home
last modified time | relevance | path

Searched refs:cryptoInfo (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/drivers/peripheral/clearplay/hdi_service/src/
H A Dmedia_decrypt_module_service.cpp46 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 Dinterface_i_media_decrypt_module.md20 …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 Dmedia_decrypt_module_proxy.cpp.txt33 …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 Dmedia_decrypt_module_stub.cpp.txt83 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 Dmedia_decrypt_module_proxy.h.txt38 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 Dmedia_decrypt_module_service.cpp.txt25 …yptModuleService::DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
H A Dmedia_decrypt_module_service.h.txt30 int32_t DecryptMediaData(bool secure, const OHOS::HDI::Drm::V1_0::CryptoInfo& cryptoInfo,
H A Dimedia_decrypt_module.h.txt64 … 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 Dmedia_decrypt_module_proxy.h38 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 Dimedia_decrypt_module.h64 … 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 Dmedia_decrypt_module_service.h31 int32_t DecryptMediaData(bool secure, const CryptoInfo& cryptoInfo, const DrmBuffer& srcBuffer,
/ohos5.0/drivers/interface/drm/v1_0/
H A DIMediaDecryptModule.idl38 …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 DIMediaDecryptModule.idl38 …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 Ddrmservice_fuzzer.h318 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 Ddump.txt155 [in] ohos.hdi.drm.v1_0.CryptoInfo cryptoInfo,