snmpksm.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
- /*
- * Header file for Kerberos Security Model support
- */
- #ifndef SNMPKSM_H
- #define SNMPKSM_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- int ksm_rgenerate_out_msg(struct
- snmp_secmod_outgoing_params *);
- int ksm_process_in_msg(struct snmp_secmod_incoming_params
- *);
- void init_usm(void);
- /*
- * This is the "key usage" that is used by the new crypto API. It's used
- * generally only if you are using derived keys. The specifical says that
- * 1024-2047 are to be used by applications, and that even usage numbers are
- * to be used for encryption and odd numbers are to be used for checksums.
- */
- #define KSM_KEY_USAGE_ENCRYPTION 1030
- #define KSM_KEY_USAGE_CHECKSUM 1031
- #ifdef __cplusplus
- }
- #endif
- #endif /* SNMPKSM_H */