From 463d1f78588684f451b2303e16b30c1abaafb987 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Fri, 30 Nov 2007 20:17:28 +1100 Subject: [PATCH] --- yaml --- r: 75972 b: refs/heads/master c: 15c67286685cddce207b646306e8819ec8268ede h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/crypto/internal/skcipher.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ca96a7481932..dc39f27b8806 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7f47073911f0e4384d38a0827d28305a177c8816 +refs/heads/master: 15c67286685cddce207b646306e8819ec8268ede diff --git a/trunk/include/crypto/internal/skcipher.h b/trunk/include/crypto/internal/skcipher.h index 07e7c82324ad..80c5bfb14a60 100644 --- a/trunk/include/crypto/internal/skcipher.h +++ b/trunk/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 */