Testing of CPRM on SD Card
Sriram, Kannan
ksriram at ti.com
Mon Jul 30 21:40:14 EDT 2007
> -----Original Message-----
> From: Alan Cox [mailto:alan at lxorguk.ukuu.org.uk]
> Sent: Tuesday, July 31, 2007 12:11 AM
> To: Midhun A
> Cc: Sriram, Kannan; linux-kernel at vger.kernel.org; linux-arm-
> kernel at lists.arm.linux.org.uk; linux-mtd at lists.infradead.org
> Subject: Re: Testing of CPRM on SD Card
>
> On Mon, 30 Jul 2007 20:23:42 +0530
> "Midhun A" <midhunagni at gmail.com> wrote:
>
> > Hey All,
> >
> > Thanks a lot for the replies. I have the development keys. But
the
> > algorithm and some intellectual property needs to be licenced from
the
> > 4C entity guys to implement it. As of now I just want to test the
CPRM
> > functionality. So licensing the algo for a prototype testing is a
huge
> > cost.
>
If you have the development keys, then you should typically have the
dummy "secret constant" used in the C2 algorithm as well. Contrary to
popular belief, the C2 algorithm by itself is not proprietary, just the
256 byte secret constant used inside the C2 algorithm. Also, if you want
to just "test" CPRM, you have all the stuff you need (not the real
stuff, but stuff that you can validate using your development keys) in
the name of dummy keys. Some sample input/ output data as well as
related dummy keys and the C2 algorithms are all available at the 4C
website for free download.
I had once (long ago) validated CPRM purely using stuff downloaded from
4C (free download). But my setup was not Linux; rather on a DSP
simulator platform, and was "low level".
But if you are looking for a quick test using a real SD-card, then like
I said, your development keys won't help. You need a real set of valid
"production keys" and these I bet are very hard to get!
> Good good, the higher the better and the less this evil stuff gets
used.
More information about the linux-mtd
mailing list