1214456Srpaulo/*
2214456Srpaulo * Redistribution and use in source and binary forms, with or without
3214456Srpaulo * modification, are permitted provided that: (1) source code
4214456Srpaulo * distributions retain the above copyright notice and this paragraph
5214456Srpaulo * in its entirety, and (2) distributions including binary code include
6214456Srpaulo * the above copyright notice and this paragraph in its entirety in
7214456Srpaulo * the documentation or other materials provided with the distribution.
8214456Srpaulo * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
9214456Srpaulo * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
10214456Srpaulo * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
11214456Srpaulo * FOR A PARTICULAR PURPOSE.
12214456Srpaulo *
13214456Srpaulo * Functions for signature and digest verification.
14214456Srpaulo *
15214456Srpaulo * Original code by Hannes Gredler (hannes@juniper.net)
16214456Srpaulo */
17214456Srpaulo
18214456Srpaulo/* @(#) $Header: /tcpdump/master/tcpdump/signature.h,v 1.1 2008-08-16 11:36:20 hannes Exp $ (LBL) */
19214456Srpaulo
20214456Srpaulo/* signature checking result codes */
21214456Srpaulo#define SIGNATURE_VALID		0
22214456Srpaulo#define SIGNATURE_INVALID	1
23214456Srpaulo#define CANT_CHECK_SIGNATURE	2
24214456Srpaulo
25214456Srpauloextern const struct tok signature_check_values[];
26214456Srpauloextern int signature_verify (const u_char *, u_int, u_char *);
27