diff options
author | Steve French <sfrench@us.ibm.com> | 2006-09-28 16:49:01 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-09-28 16:49:01 -0400 |
commit | e10847ed499cb86bf8ce12f3a686be8a98f8e140 (patch) | |
tree | f3767345a5c83b8362736798a350d7bdd3b86c35 /fs/cifs/md5.c | |
parent | 2eaf55862e8eb03999169d84f21eadffc88a36ce (diff) |
[CIFS] More removing of unused functions
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/md5.c')
-rw-r--r-- | fs/cifs/md5.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/md5.c b/fs/cifs/md5.c index 273aa0383f27..e6a2097d836b 100644 --- a/fs/cifs/md5.c +++ b/fs/cifs/md5.c | |||
@@ -252,6 +252,7 @@ MD5Transform(__u32 buf[4], __u32 const in[16]) | |||
252 | buf[3] += d; | 252 | buf[3] += d; |
253 | } | 253 | } |
254 | 254 | ||
255 | #if 0 /* currently unused */ | ||
255 | /*********************************************************************** | 256 | /*********************************************************************** |
256 | the rfc 2104 version of hmac_md5 initialisation. | 257 | the rfc 2104 version of hmac_md5 initialisation. |
257 | ***********************************************************************/ | 258 | ***********************************************************************/ |
@@ -289,6 +290,7 @@ hmac_md5_init_rfc2104(unsigned char *key, int key_len, | |||
289 | MD5Init(&ctx->ctx); | 290 | MD5Init(&ctx->ctx); |
290 | MD5Update(&ctx->ctx, ctx->k_ipad, 64); | 291 | MD5Update(&ctx->ctx, ctx->k_ipad, 64); |
291 | } | 292 | } |
293 | #endif | ||
292 | 294 | ||
293 | /*********************************************************************** | 295 | /*********************************************************************** |
294 | the microsoft version of hmac_md5 initialisation. | 296 | the microsoft version of hmac_md5 initialisation. |
@@ -333,6 +335,7 @@ hmac_md5_update(const unsigned char *text, int text_len, | |||
333 | /*********************************************************************** | 335 | /*********************************************************************** |
334 | finish off hmac_md5 "inner" buffer and generate outer one. | 336 | finish off hmac_md5 "inner" buffer and generate outer one. |
335 | ***********************************************************************/ | 337 | ***********************************************************************/ |
338 | #if 0 /* currently unused */ | ||
336 | void | 339 | void |
337 | hmac_md5_final(unsigned char *digest, struct HMACMD5Context *ctx) | 340 | hmac_md5_final(unsigned char *digest, struct HMACMD5Context *ctx) |
338 | { | 341 | { |
@@ -361,3 +364,4 @@ hmac_md5(unsigned char key[16], unsigned char *data, int data_len, | |||
361 | } | 364 | } |
362 | hmac_md5_final(digest, &ctx); | 365 | hmac_md5_final(digest, &ctx); |
363 | } | 366 | } |
367 | #endif | ||