All of lore.kernel.org
 help / color / mirror / Atom feed
* hmac(sha1)
@ 2010-03-03  3:29 Dimitrios Siganos
  2010-03-03 20:17 ` hmac(sha1) Dimitrios Siganos
  2010-03-05  7:32 ` hmac(sha1) Herbert Xu
  0 siblings, 2 replies; 8+ messages in thread
From: Dimitrios Siganos @ 2010-03-03  3:29 UTC (permalink / raw)
  To: linux-crypto

Hi,

I am trying to write a hmac(sha1) algorithm and I have a few questions. 
I have a HW crypto accelerator that does the actual crypto work. I have 
already successfully implemented sha1 by creating a 
CRYPTO_ALG_TYPE_DIGEST algorithm.

1) Can I implement hmac(sha1) as a CRYPTO_ALG_TYPE_DIGEST algorithm 
(i.e. use very similar code to sha1)?

2) Do I need to create a CRYPTO_ALG_TYPE_HASH algorithm?

3) Is it possible to implement hmac(sha1) as both CRYPTO_ALG_TYPE_DIGEST 
and CRYPTO_ALG_TYPE_HASH?

4) If I use a CRYPTO_ALG_TYPE_HASH, I need to understand the scatterwalk 
api, is there any help on the subject?

Regards,
Dimitris


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-10  4:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03  3:29 hmac(sha1) Dimitrios Siganos
2010-03-03 20:17 ` hmac(sha1) Dimitrios Siganos
2010-03-03 22:59   ` hmac(sha1) Kim Phillips
2010-03-05  7:32 ` hmac(sha1) Herbert Xu
2010-03-05 16:17   ` hmac(sha1) Dimitrios Siganos
2010-03-09  3:08     ` hmac(sha1) Herbert Xu
2010-03-10  2:48       ` hmac(sha1) Dimitrios Siganos
2010-03-10  4:05         ` hmac(sha1) Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.