Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=15c67286685cddce207b646306e8819ec8268ede
Commit:     15c67286685cddce207b646306e8819ec8268ede
Parent:     7f47073911f0e4384d38a0827d28305a177c8816
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Fri Nov 30 20:17:28 2007 +1100
Committer:  Herbert Xu <[EMAIL PROTECTED]>
CommitDate: Fri Jan 11 08:16:45 2008 +1100

    [CRYPTO] skcipher: Added skcipher_givcrypt_complete
    
    This patch adds the helper skcipher_givcrypt_complete which should be
    called when an ablkcipher algorithm has completed a givcrypt request.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
---
 include/crypto/internal/skcipher.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/crypto/internal/skcipher.h 
b/include/crypto/internal/skcipher.h
index 07e7c82..80c5bfb 100644
--- a/include/crypto/internal/skcipher.h
+++ b/include/crypto/internal/skcipher.h
@@ -74,5 +74,17 @@ static inline void *skcipher_givcrypt_reqctx(
        return ablkcipher_request_ctx(&req->creq);
 }
 
+static inline void ablkcipher_request_complete(struct ablkcipher_request *req,
+                                              int err)
+{
+       req->base.complete(&req->base, err);
+}
+
+static inline void skcipher_givcrypt_complete(
+       struct skcipher_givcrypt_request *req, int err)
+{
+       ablkcipher_request_complete(&req->creq, err);
+}
+
 #endif /* _CRYPTO_INTERNAL_SKCIPHER_H */
 
-
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