Samba 2.2.x: libsmb/smbdes.c ?
hno at squid-cache.org
Tue Apr 20 02:54:28 GMT 2004
On Tue, 20 Apr 2004, Tobbe wrote:
> I may be mistaken (I'm not strong in reading C code), but am
> I right in that str_to_key/2 corresponds to the swab function ?
I do not think so.
str_to_key converts a 7 character string (7 bytes, 8 bits per byte, total
56 bits) to a DES key (8 bytes, 7 bits per byte, total 56 bits). In an
actual DES there is a parity involved in the low order bit but this is not
used by smbdes.
More information about the samba-technical