Re: Question on __crypto_alg_lookup

2012-02-01 Thread Mark Allyn
Thanks. Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 On Thu, 2 Feb 2012, Herbert Xu wrote: Mark Allyn wrote: Is dm-crypt supposed to work with ahash? Since it uses the shash interface, no. Someone will need to convert it over to ahash first, like what we have done for

Re: Question on __crypto_alg_lookup

2012-02-01 Thread Herbert Xu
Mark Allyn wrote: > > Is dm-crypt supposed to work with ahash? Since it uses the shash interface, no. Someone will need to convert it over to ahash first, like what we have done for IPsec. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apan

Re: Question on __crypto_alg_lookup

2012-01-27 Thread Mark Allyn
Here is a related questions that might help me . . . Do any of you know of a ahash and ablkcipher driver that is known to have worked with dm-crypt? I would like to look at that code. The drivers that I have look at so far seem to set the cra_flags the same as I have; I want to know if there

Question on __crypto_alg_lookup

2012-01-27 Thread Mark Allyn
Folks: In __crypto_alg_lookup, at about line 85 of api.c, there is the following: if ((q->cra_flags ^ type) & mask) continue; There is no commenting on this at all. Can someone please explain what this is for and just what is this trying to filter? I a