[comp.protocols.kerberos] Kerberos DES library interface spec

keith@EXPO.LCS.MIT.EDU (Keith Packard) (09/07/90)

I'm trying to use DES in a project and would like to allow people to plug in
their own DES code when it can't be shipped to them.  Can someone send me
a functional interface spec that Kerberos uses for this?  I only need
two functions; right now I've got the following interface:

	encryptBits (data, key)
		char	data[8];
		char	key[8];

	decryptBits (data, key)
		char	data[8];
		char	key[8];

where the data is modified in place, and the key is 56 bits packed 7 bits to
a byte, high bit unused.

What functions does Kerberos use for these two operations?

Keith Packard
keith@expo.lcs.mit.edu