added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / library / snmpksm.h
1 /*
2  * Header file for Kerberos Security Model support
3  */
4
5 #ifndef SNMPKSM_H
6 #define SNMPKSM_H
7
8 #ifdef __cplusplus
9 extern          "C" {
10 #endif
11
12     int             ksm_rgenerate_out_msg(struct
13                                           snmp_secmod_outgoing_params *);
14     int             ksm_process_in_msg(struct snmp_secmod_incoming_params
15                                        *);
16     void            init_usm(void);
17
18     /*
19      * This is the "key usage" that is used by the new crypto API.  It's used
20      * generally only if you are using derived keys.  The specifical says that
21      * 1024-2047 are to be used by applications, and that even usage numbers are
22      * to be used for encryption and odd numbers are to be used for checksums.
23      */
24
25 #define KSM_KEY_USAGE_ENCRYPTION        1030
26 #define KSM_KEY_USAGE_CHECKSUM          1031
27
28 #ifdef __cplusplus
29 }
30 #endif
31 #endif                          /* SNMPKSM_H */