]> git.ipfire.org Git - thirdparty/dhcp.git/blob - includes/auth.h
51094324794c30e54fab4963bf69f34d29ca0119
[thirdparty/dhcp.git] / includes / auth.h
1 /* dhcpd.h
2
3 Definitions for dhcpd... */
4
5 /*
6 * Copyright (c) 1996-1999 Internet Software Consortium.
7 * Use is subject to license terms which appear in the file named
8 * ISC-LICENSE that should have accompanied this file when you
9 * received it. If a file named ISC-LICENSE did not accompany this
10 * file, or you are not sure the one you have is correct, you may
11 * obtain an applicable copy of the license at:
12 *
13 * http://www.isc.org/isc-license-1.0.html.
14 *
15 * This file is part of the ISC DHCP distribution. The documentation
16 * associated with this file is listed in the file DOCUMENTATION,
17 * included in the top-level directory of this release.
18 *
19 * Support and other services are available for ISC products - see
20 * http://www.isc.org for more information.
21 */
22
23
24 /* State structure for ongoing computation of a packet signature. */
25
26 struct signature_state {
27 u_int8_t *algorithm_state;
28 u_int8_t *output;
29 int output_len;
30 void (*update) PROTO ((u_int8_t *, u_int8_t *, u_int8_t *));
31 void (*final) PROTO ((u_int8_t *, u_int8_t *));
32 };
33
34 struct auth_key {
35 unsigned length;
36 u_int8_t data [1];
37 };
38