Commit:     aa379a6ab17ff5b06552c52360ce6d9f8c7c209a
Parent:     44db25ca127281036817f861593389d7cfe950f5
Author:     Sebastian Siewior <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 2 20:41:53 2007 +0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:55:37 2007 -0700

    [CRYPTO] api: Add crypto_ablkcipher_ctx_aligned
    This is function does the same thing for ablkcipher that is done for
    blkcipher by crypto_blkcipher_ctx_aligned(): it returns an aligned
    address of the private ctx.
    Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
 include/crypto/algapi.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index b2b1e6e..8081294 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -160,6 +160,11 @@ static inline void *crypto_ablkcipher_ctx(struct 
crypto_ablkcipher *tfm)
        return crypto_tfm_ctx(&tfm->base);
+static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher 
+       return crypto_tfm_ctx_aligned(&tfm->base);
 static inline struct crypto_blkcipher *crypto_spawn_blkcipher(
        struct crypto_spawn *spawn)
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

Reply via email to