projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2729bb4
)
[CRYPTO] twofish: Fix the priority
author
Joachim Fritschi
<jfritschi@freenet.de>
Tue, 20 Jun 2006 10:39:29 +0000
(20:39 +1000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:16:28 +0000
(11:16 +1000)
This patch adds a proper driver name and priority to the generic c
implemtation to allow coexistance of c and assembler modules.
Signed-off-by: Joachim Fritschi <jfritschi@freenet.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/twofish.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/twofish.c
b/crypto/twofish.c
index e3b3a0a6cb4dad79c21ca54927f24d66cb5b9977..4979a2be48a96e16fba4e4bd51fe7b07033fd705 100644
(file)
--- a/
crypto/twofish.c
+++ b/
crypto/twofish.c
@@
-181,6
+181,8
@@
static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in)
static struct crypto_alg alg = {
.cra_name = "twofish",
+ .cra_driver_name = "twofish-generic",
+ .cra_priority = 100,
.cra_flags = CRYPTO_ALG_TYPE_CIPHER,
.cra_blocksize = TF_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct twofish_ctx),