aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smbdes.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/smbdes.c')
-rw-r--r--fs/cifs/smbdes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/smbdes.c b/fs/cifs/smbdes.c
index efaa044523a7..2b193e422f83 100644
--- a/fs/cifs/smbdes.c
+++ b/fs/cifs/smbdes.c
@@ -364,14 +364,14 @@ E_P24(unsigned char *p21, unsigned char *c8, unsigned char *p24)
364 smbhash(p24 + 16, c8, p21 + 14, 1); 364 smbhash(p24 + 16, c8, p21 + 14, 1);
365} 365}
366 366
367void 367static void
368D_P16(unsigned char *p14, unsigned char *in, unsigned char *out) 368D_P16(unsigned char *p14, unsigned char *in, unsigned char *out)
369{ 369{
370 smbhash(out, in, p14, 0); 370 smbhash(out, in, p14, 0);
371 smbhash(out + 8, in + 8, p14 + 7, 0); 371 smbhash(out + 8, in + 8, p14 + 7, 0);
372} 372}
373 373
374void 374static void
375E_old_pw_hash(unsigned char *p14, unsigned char *in, unsigned char *out) 375E_old_pw_hash(unsigned char *p14, unsigned char *in, unsigned char *out)
376{ 376{
377 smbhash(out, in, p14, 1); 377 smbhash(out, in, p14, 1);