hmac(sha1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux