Digital rights management in avstream driver for USB device

J

Jeff Claar

Hi everyone,

I'm trying to get the Digital Rights Management HCT test (v11.2) to pass in
my USB avstream driver. I have implemented the
KSPROPERTY_DRMAUDIOSTREAM_CONTENTID property, but when I run the digital
rights management HCT test, tests 16.40:3 and 16.40:4 both fail, indicating
that the image is bad. I have included an excerpt from the log at the end of
this message. The big problem seems to be that DRMKAuthenticate is looking
at my driver and returning "AuthBadImage". My DRM property handler is always
returning STATUS_SUCCESS for my initial testing, but I can't get it to pass
the initial DRM tests.

Any suggestions are greatly appreciated.

Thanks,
Jeff

Excerpt from log below:


Start Case: ID 16.40:3 : Miniport\Authentication\Check Driver Image:[Thu Sep
04 13:02:39 2003]
====> DRMKOpen
---------> DRM_OK(0x00000000) : DRM Handle 0x00B3E008 : (API took 31 ms)
====> DRMKCreateStream(0x00B3E008, CopyProtect=FALSE, CopyProtect=FALSE,
DigitalOutputDisable=FALSE)
---------> DRM_OK(0x00000000) : StreamId = 0x0000004D : Stream Handle =
0x00B249F8 : (API took 0 ms)
====> DRMKMakeHeader(PCM - 48000 - 2 - 16 - 0)
---------> DRM_OK(0x00000000) : Format = PCM - 48000 - 2 - 16 - 0 -
0x00000000 - 1024 : (API took 0 ms)

Stream Info
DRM - 48000 - 2 - 16 - 0 - 0x0000004D - 1024
StreamId = 0x0000004D
StreamHandle = 0x00B249F8
DoAuthentication = TRUE
DoEncryption = TRUE
DoZeroStreamId = FALSE
Rights.CopyProtect = FALSE
Rights.DigitalOutputDisable = FALSE
ParseCatalogFile = FALSE
MinDRMLevel = 0
RequireSignedCatalog = TRUE
CheckDriverImages = TRUE
AllowTestCertificate = FALSE

====> DRMKAuthenticate(0x00B249F8, CheckCat=FALSE, MinDrmLevel=0,
RequireCerts=TRUE, CheckImage=TRUE, AllowTestCert=FALSE,
DriverCache=C:\gooddriver.txt)
---------> DRM_BADDRIVER(0x80000072) : (API took 31 ms)
C:\WINDOWS\system32\drivers\MA763007.sys -
AuthBadImage(0x00000006)
Authentication failed on a Drm Compliant Driver
Authentication failed
====> DRMKDestroyStream(0x00B249F8)
---------> DRM_OK(0x00000000) : (API took 0 ms)
====> DRMKClose(0x00B3E008)
---------> DRM_OK(0x00000000) : (API took 0 ms)
Authentication (IMAGE) failed
End Case: ID 16.40:3 : FAIL : Miniport\Authentication\Check Driver Image :
[Thu Sep 04 13:02:39 2003]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top