net-snmp
5.4.1
|
00001 /* 00002 * Header file for Kerberos Security Model support 00003 */ 00004 00005 #ifndef SNMPKSM_H 00006 #define SNMPKSM_H 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif 00011 00012 int ksm_rgenerate_out_msg(struct 00013 snmp_secmod_outgoing_params *); 00014 int ksm_process_in_msg(struct snmp_secmod_incoming_params 00015 *); 00016 void init_usm(void); 00017 00018 /* 00019 * This is the "key usage" that is used by the new crypto API. It's used 00020 * generally only if you are using derived keys. The specifical says that 00021 * 1024-2047 are to be used by applications, and that even usage numbers are 00022 * to be used for encryption and odd numbers are to be used for checksums. 00023 */ 00024 00025 #define KSM_KEY_USAGE_ENCRYPTION 1030 00026 #define KSM_KEY_USAGE_CHECKSUM 1031 00027 00028 #ifdef __cplusplus 00029 } 00030 #endif 00031 #endif /* SNMPKSM_H */