[499] in Kerberos_V5_Development
Re: lib/des/krb_glue.c
jtkohl@ATHENA.MIT.EDU (jtkohl@ATHENA.MIT.EDU)
Wed Dec 12 09:47:06 1990
Hmm, this is a somewhat-sticky interface question.
The DES routines need to have space to assemble a checksum contiguous with the
input before encryption. The current DES code assumes such space is already
available in the input space.
I see two possibilities here: 1) have the DES code copy the input into a
buffer with sufficient space, and then add the checksum and encrypt
2) [essentially status quo] make sure all uses of the encryption functions
allocate sufficient checksum space; they can find out the space requirements
with the macro krb5_encrypt_size()
thoughts/comments?