aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-07-03 07:14:02 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 08:35:17 -0400
commitebbcf3369224ae7d23bfee06d8c5ea87a9541db5 (patch)
tree5412ef6107e86030389347378f999e8e57485471 /drivers/crypto
parent70bcaca75389a6c011ddc866eb1743b070a838b0 (diff)
crypto: talitos - Use proper form for algorithm driver names
The name authenc(hmac(sha1-talitos),cbc(aes-talitos)) is potentially ambiguous since it could also mean using the generic authenc template on hmac(sha1-talitos) and cbc(aes-talitos). In general, parentheses should be reserved for templates that spawn algorithms. This patches changes it to the form authenc-hmac-sha1-cbc-aes-talitos. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/talitos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index e8459e00da31..8c270cd7baac 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -1144,7 +1144,7 @@ static struct talitos_alg_template driver_algs[] = {
1144 /* single-pass ipsec_esp descriptor */ 1144 /* single-pass ipsec_esp descriptor */
1145 { 1145 {
1146 .name = "authenc(hmac(sha1),cbc(aes))", 1146 .name = "authenc(hmac(sha1),cbc(aes))",
1147 .driver_name = "authenc(hmac(sha1-talitos),cbc(aes-talitos))", 1147 .driver_name = "authenc-hmac-sha1-cbc-aes-talitos",
1148 .blocksize = TALITOS_AES_MIN_BLOCK_SIZE, 1148 .blocksize = TALITOS_AES_MIN_BLOCK_SIZE,
1149 .aead = { 1149 .aead = {
1150 .setkey = aead_authenc_setkey, 1150 .setkey = aead_authenc_setkey,
@@ -1166,7 +1166,7 @@ static struct talitos_alg_template driver_algs[] = {
1166 }, 1166 },
1167 { 1167 {
1168 .name = "authenc(hmac(sha1),cbc(des3_ede))", 1168 .name = "authenc(hmac(sha1),cbc(des3_ede))",
1169 .driver_name = "authenc(hmac(sha1-talitos),cbc(3des-talitos))", 1169 .driver_name = "authenc-hmac-sha1-cbc-3des-talitos",
1170 .blocksize = TALITOS_3DES_MIN_BLOCK_SIZE, 1170 .blocksize = TALITOS_3DES_MIN_BLOCK_SIZE,
1171 .aead = { 1171 .aead = {
1172 .setkey = aead_authenc_setkey, 1172 .setkey = aead_authenc_setkey,