Thread (22 messages) 22 messages, 5 authors, 2008-05-14

Re: New Crypto Hardware

From: Sebastian Siewior <hidden>
Date: 2008-01-18 23:07:30

Possibly related (same subject, not in this thread)

* Loc Ho | 2008-01-17 13:25:38 [-0800]:
quoted
Questions:
2. What is the difference between digest and hash type besides one 
operation on transformation structure (tfm) and the other on descriptor
(desc)?
They are used for different things.
Digest is something like sha1 or md5. You just feed your algoritm with
data and get a single result. A hash on the other hand has a key which
is used as a salt, a random initialization string. 

[LH]
Are you referring hash as HMAC mode of MD5/SHA? For normal MD5, use
digest algorthm. For HMAC mode of MD5, use HASH. Is this correct?
Yes. You request them as hmac(sha1) resp. hmac(md5).
quoted
3. Currently, cryptodev-2.6 git doesn't work under PPC4xx development 
board but Denx linux latest works. Have anyone tested on PPC4xx board?
Please define doesn't work.

[LH]
When I compile and load Denx Linux for my sequoia board, the Kernel
comes up and I get  kernel message. When I compile and load
cryptodev-2.6.git HEAD with the same config from Denx branch, nothing.
It seems like cryptodev-2.6 doesn't support the sequoia board. What I
have to do is patch only crypto file into Denx linux and that seems to
work for me.
cryptodev-2.6 is almost v2.6.24-rc8 tree + cryptodev patches. If you can
boot v2.6.24-rc8 than you should have no problems with cryptodev. I
don't know the diff between denx-linux & linus-linux.
Thanks,
Loc
Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help