Commit 0e19c1ea authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Trond Myklebust

SUNRPC,RPCSEC_GSS: spkm3: import contexts using NID_cast5_cbc

Import the NID_cast5_cbc from the userland context. Not used.
Signed-off-by: default avatarAndy Adamson <andros@citi.umich.edu>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 5f12191b
...@@ -102,6 +102,12 @@ get_key(const void *p, const void *end, struct crypto_tfm **res, int *resalg) ...@@ -102,6 +102,12 @@ get_key(const void *p, const void *end, struct crypto_tfm **res, int *resalg)
alg_mode = CRYPTO_TFM_MODE_CBC; alg_mode = CRYPTO_TFM_MODE_CBC;
setkey = 1; setkey = 1;
break; break;
case NID_cast5_cbc:
/* XXXX here in name only, not used */
alg_name = "cast5";
alg_mode = CRYPTO_TFM_MODE_CBC;
setkey = 0; /* XXX will need to set to 1 */
break;
case NID_md5: case NID_md5:
if (key.len == 0) { if (key.len == 0) {
dprintk("RPC: SPKM3 get_key: NID_md5 zero Key length\n"); dprintk("RPC: SPKM3 get_key: NID_md5 zero Key length\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment