diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-07-06 16:51:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-06 16:51:52 -0400 |
commit | 40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc (patch) | |
tree | abbc1057a5e0bd77385d17cfc6146617151e93bc /crypto/internal.h | |
parent | c774e93e2152d0be2612739418689e6e6400f4eb (diff) |
[CRYPTO] Add support for low-level multi-block operations
This patch adds hooks for cipher algorithms to implement multi-block
ECB/CBC operations directly. This is expected to provide significant
performance boots to the VIA Padlock.
It could also be used for improving software implementations such as
AES where operating on multiple blocks at a time may enable certain
optimisations.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 964b9a60ca24..5ed383f7dce6 100644 --- a/crypto/internal.h +++ b/crypto/internal.h | |||
@@ -42,11 +42,6 @@ static inline void crypto_yield(struct crypto_tfm *tfm) | |||
42 | cond_resched(); | 42 | cond_resched(); |
43 | } | 43 | } |
44 | 44 | ||
45 | static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) | ||
46 | { | ||
47 | return (void *)&tfm[1]; | ||
48 | } | ||
49 | |||
50 | struct crypto_alg *crypto_alg_lookup(const char *name); | 45 | struct crypto_alg *crypto_alg_lookup(const char *name); |
51 | 46 | ||
52 | /* A far more intelligent version of this is planned. For now, just | 47 | /* A far more intelligent version of this is planned. For now, just |