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-01-27 Thread Mark Allyn
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 foll

Question on __crypto_alg_lookup

2012-01-27 Thread Mark Allyn
t called async-tx-api.txt 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 &

Re: I have a Question about linux asynchronous crypto

2011-12-31 Thread Mark Allyn
As far as I can see, I agree. The generic implementations all seem to be synchronous. Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 On Sat, 31 Dec 2011, Gao feng wrote: Hi all sorry to borther you. I saw the linux crypto code,and found there is no asynchronous crypto

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

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 -- To

Questions on ahash

2010-12-14 Thread Mark Allyn
k you 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 --- 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 +++ b/crypto/api.c @@ -

[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 --- 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 @@ -193,6 +193,13 @@ st

[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 --- crypto/api.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/crypto/api.c b/crypto/api.c index 033a714..71c389d 100644 --

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

2010-11-04 Thread Mark Allyn
Signed-off-by: Mark A. Allyn --- 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 *crypto_larval_wait(st

How do you specify driver in tcrypt

2010-11-02 Thread Mark Allyn
I want to run tcrypt, but I want to only use a specific driver. How do I do that? 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.kerne

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 "unsubs

Re: Question on structures

2010-10-27 Thread Mark Allyn
I am using? The docs don't explain this (unless there is documentation elsewhere outside the kernel tree) Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 On Mon, 25 Oct 2010, Herbert Xu wrote: Mark Allyn wrote: Folks: Perhaps this is due to me being a neophyte . .

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

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.

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