Skip to contentSkip to conversation

General questions on crypto

DISCUSSION Mark Allyn 2 participants 2 messages Oct 25, 2010 – Oct 26, 2010 Crypto API

lore
Share & tools
lore

Mark Allyn

author
#0 lore raw

Folks:

I am trying to understand how to implement an ahash instance for a hardware encryption device.

I notice that the in-kernel documentation has no mention of ahash.

Does anyone know where I can find a basic how-to document on putting together an ahash implementation in an existing driver?

The sha1_generic that is supplied appears to be using shash, is there an example for ahash?

Thanks

Truly,

Mark Allyn
Portland, Oregon
www.allyn.com
971-563-7588

maintainer
#1 lore raw
Quoted 3 lines · Mark Allyn

The sha1_generic that is supplied appears to be using shash, is there an example for ahash?

We have a number of existing drivers under drivers/crypto that use the ahash interface. You can use them as a model for your driver.

Cheers,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt