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 al...@well.com 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

Question on __crypto_alg_lookup

2012-01-27 Thread Mark Allyn
that seems to have no correlation with the ahash or ablkcipher stuff. Is it still valid? Is there another place I can look for decent documentation? Thank you Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 -- To unsubscribe from this list: send the line unsubscribe linux-crypto

Re: Question on __crypto_alg_lookup

2012-01-27 Thread Mark Allyn
if there is a driver that is known to have worked and look at it's cra_flags settings. Thank you Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 On Fri, 27 Jan 2012, Mark Allyn wrote: Folks: In __crypto_alg_lookup, at about line 85 of api.c, there is the following

Why are there multiple defines of scatter_walk?

2011-01-11 Thread Mark Allyn
I notice two defines of struct scatter_walk; one at line 20 of include/crypto/scatterwalk.h and the other at line 74 of include/crypto/algapi.h They are not the same. Why? Which one does a driver supposed to include? Thanks Mark Allyn Portland, Oregon www.allyn.com 971-563-7588

Disregard my last question I found out the answer

2011-01-11 Thread Mark Allyn
Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Questions on ahash

2010-12-14 Thread Mark Allyn
for your help Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/1] crypto: api.c: doc on crypto_alg_lookup, crypto_larval_lookup, and crypto_alg_mod_lookup

2010-11-05 Thread Mark Allyn
Resubmit due to errors on patch submitted 11/4/2010 Signed-off-by: Mark A. Allyn mark.a.al...@intel.com --- crypto/api.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/crypto/api.c b/crypto/api.c index 033a714..d8a7c35 100644 --- a/crypto/api.c

[PATCH 1/1] crypto: api.c: adding doxygen comments to api

2010-11-04 Thread Mark Allyn
Signed-off-by: Mark A. Allyn mark.a.al...@intel.com --- crypto/api.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/crypto/api.c b/crypto/api.c index 033a714..a11939f 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -193,6 +193,13 @@ static struct crypto_alg

[PATCH 1/1] crypto: api.c adding kernel-doc comments

2010-11-04 Thread Mark Allyn
Add comments to crypto_alg_lookup and crypto_larval_lookup I am re-submitting this due to errors Signed-off-by: Mark A. Allyn mark.a.al...@intel.com --- crypto/api.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/crypto/api.c b/crypto/api.c index

[PATCH 1/1] crypto: api.c: add comments to crypto_alg_lookup and crypto_alg_larval_lookup

2010-11-04 Thread Mark Allyn
This is resubmitted due to errors in style Signed-off-by: Mark A. Allyn mark.a.al...@intel.com --- crypto/api.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/crypto/api.c b/crypto/api.c index 033a714..0314083 100644 --- a/crypto/api.c +++ b/crypto/api.c

alg_test question

2010-11-02 Thread Mark Allyn
What is the mask parameter for in the alg_test function? Also what is the type? Better still, is there any documentation on how to use the alg_test function? Thanks Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 -- To unsubscribe from this list: send the line unsubscribe

Question on structures

2010-10-25 Thread Mark Allyn
Folks: Perhaps this is due to me being a neophyte . . . I notice that some of the structure have two different sets of functions. For example, the ahash_alg structure has .init and then .base.cra_init. What is the difference between the two? Thanks Truly, Mark Allyn Portland, Oregon

General questions on crypto

2010-10-25 Thread Mark Allyn
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 -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body of a message to majord...@vger.kernel.org

Re: Questions about ahash

2010-10-25 Thread Mark Allyn
away and does other stuff, then gets an interrupt when the device is done and ready. The user space app waits for the device to finish, but the kernel is doing other stuff in the meantime. Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 You should use shash only if your hardware