1/*
2 *
3 * bufaux.c
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Wed Mar 29 02:24:47 1995 ylo
11 *
12 * Auxiliary functions for storing and retrieving various data types to/from
13 * Buffers.
14 *
15 * $FreeBSD: head/crypto/openssh/bufaux.c 57464 2000-02-25 01:53:12Z green $
16 */
17
18#include "includes.h"
19RCSID("$Id: bufaux.c,v 1.7 1999/11/24 19:53:44 markus Exp $");
20
21#include "ssh.h"
22#include <openssl/bn.h>
23#include "bufaux.h"
24#include "xmalloc.h"
25#include "getput.h"
26
27/*
28 * Stores an BIGNUM in the buffer with a 2-byte msb first bit count, followed
29 * by (bits+7)/8 bytes of binary data, msb first.
30 */
--- 129 unchanged lines hidden ---
2 *
3 * bufaux.c
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Wed Mar 29 02:24:47 1995 ylo
11 *
12 * Auxiliary functions for storing and retrieving various data types to/from
13 * Buffers.
14 *
15 * $FreeBSD: head/crypto/openssh/bufaux.c 57464 2000-02-25 01:53:12Z green $
16 */
17
18#include "includes.h"
19RCSID("$Id: bufaux.c,v 1.7 1999/11/24 19:53:44 markus Exp $");
20
21#include "ssh.h"
22#include <openssl/bn.h>
23#include "bufaux.h"
24#include "xmalloc.h"
25#include "getput.h"
26
27/*
28 * Stores an BIGNUM in the buffer with a 2-byte msb first bit count, followed
29 * by (bits+7)/8 bytes of binary data, msb first.
30 */
--- 129 unchanged lines hidden ---