- change generate_challenge() to use md4 instead of des
authorAndrew Tridgell <tridge@samba.org>
Tue, 16 Sep 1997 04:41:16 +0000 (04:41 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 16 Sep 1997 04:41:16 +0000 (04:41 +0000)
commit35b92e725f351c9a9f2846a6b55f71c234f187c7
tree02c7e8d49aaa456eed31cfb29a59b0c05e98279b
parent9a42f88a0963d006e8bf091775a3f55f6c6b4f77
- change generate_challenge() to use md4 instead of des

- move routines about a bit between smbencrypt.c and smbdes.c. Ensure
that there is no entry point for normal DES operation

- add the following comment:

   This code is NOT a complete DES implementation. It implements only
   the minimum necessary for SMB authentication, as used by all SMB
   products (including every copy of Microsoft Windows95 ever sold)

   In particular, it can only do a unchained forward DES pass. This
   means it is not possible to use this code for encryption/decryption
   of data, instead it is only useful as a "hash" algorithm.

   There is no entry point into this code that allows normal DES operation.

   I believe this means that this code does not come under ITAR
   regulations but this is NOT a legal opinion. If you are concerned
   about the applicability of ITAR regulations to this code then you
   should confirm it for yourself (and maybe let me know if you come
   up with a different answer to the one above)
source/include/proto.h
source/libsmb/smbdes.c
source/libsmb/smbencrypt.c
source/smbd/password.c