Home | History | Annotate | Line # | Download | only in dist
signature.h revision 1.1.1.1.12.1
      1           1.1  christos /*
      2           1.1  christos  * Redistribution and use in source and binary forms, with or without
      3           1.1  christos  * modification, are permitted provided that: (1) source code
      4           1.1  christos  * distributions retain the above copyright notice and this paragraph
      5           1.1  christos  * in its entirety, and (2) distributions including binary code include
      6           1.1  christos  * the above copyright notice and this paragraph in its entirety in
      7           1.1  christos  * the documentation or other materials provided with the distribution.
      8           1.1  christos  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
      9           1.1  christos  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
     10           1.1  christos  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     11           1.1  christos  * FOR A PARTICULAR PURPOSE.
     12           1.1  christos  *
     13           1.1  christos  * Functions for signature and digest verification.
     14           1.1  christos  *
     15           1.1  christos  * Original code by Hannes Gredler (hannes (at) juniper.net)
     16           1.1  christos  */
     17           1.1  christos 
     18  1.1.1.1.12.1       tls /* @(#) Header: /tcpdump/master/tcpdump/signature.h,v 1.1 2008-08-16 11:36:20 hannes Exp  (LBL) */
     19           1.1  christos 
     20           1.1  christos /* signature checking result codes */
     21           1.1  christos #define SIGNATURE_VALID		0
     22           1.1  christos #define SIGNATURE_INVALID	1
     23           1.1  christos #define CANT_CHECK_SIGNATURE	2
     24           1.1  christos 
     25           1.1  christos extern const struct tok signature_check_values[];
     26           1.1  christos extern int signature_verify (const u_char *, u_int, u_char *);
     27