Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=927eead52c958829ef62c8aa5da2751033a2cf98
Commit:     927eead52c958829ef62c8aa5da2751033a2cf98
Parent:     23508e11ab3bb405dca66bf4d77e488bf2b07b0c
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 27 21:15:31 2007 +0800
Committer:  Herbert Xu <[EMAIL PROTECTED]>
CommitDate: Fri Jan 11 08:16:43 2008 +1100

    [CRYPTO] cryptd: Use geniv of the underlying algorithm
    
    If the underlying algorithm specifies a specific geniv algorithm then
    we should use it for the cryptd version as well.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
---
 crypto/cryptd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/crypto/cryptd.c b/crypto/cryptd.c
index 1a5c45b..074298f 100644
--- a/crypto/cryptd.c
+++ b/crypto/cryptd.c
@@ -243,6 +243,8 @@ static struct crypto_instance *cryptd_alloc_blkcipher(
        inst->alg.cra_ablkcipher.min_keysize = alg->cra_blkcipher.min_keysize;
        inst->alg.cra_ablkcipher.max_keysize = alg->cra_blkcipher.max_keysize;
 
+       inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv;
+
        inst->alg.cra_ctxsize = sizeof(struct cryptd_blkcipher_ctx);
 
        inst->alg.cra_init = cryptd_blkcipher_init_tfm;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to