=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/bufaux.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/Attic/bufaux.h 1999/09/26 20:53:34 1.1 +++ src/usr.bin/ssh/Attic/bufaux.h 1999/09/28 04:45:36 1.2 @@ -11,19 +11,19 @@ */ -/* RCSID("$Id: bufaux.h,v 1.1 1999/09/26 20:53:34 deraadt Exp $"); */ +/* RCSID("$Id: bufaux.h,v 1.2 1999/09/28 04:45:36 provos Exp $"); */ #ifndef BUFAUX_H #define BUFAUX_H #include "buffer.h" -/* Stores an MP_INT in the buffer with a 2-byte msb first bit count, followed +/* Stores an BIGNUM in the buffer with a 2-byte msb first bit count, followed by (bits+7)/8 bytes of binary data, msb first. */ -void buffer_put_mp_int(Buffer *buffer, MP_INT *value); +void buffer_put_bignum(Buffer *buffer, BIGNUM *value); -/* Retrieves an MP_INT from the buffer. */ -int buffer_get_mp_int(Buffer *buffer, MP_INT *value); +/* Retrieves an BIGNUM from the buffer. */ +int buffer_get_bignum(Buffer *buffer, BIGNUM *value); /* Returns an integer from the buffer (4 bytes, msb first). */ unsigned int buffer_get_int(Buffer *buffer);