[AGENT++] snmp++ AES 128 support for privacy protocol

Jochen Katz katz at agentpp.com
Tue Jun 13 23:29:10 CEST 2006


Hi,

> AES 128 seems to  supported as a privacy protocol in the snmp++ library,
> is thre any special build or run time configuration needed to enable it  ?


you have to edit config_snmp_pp.h and either enable libtomcrypt or openssl:

// If you have not disabled SNMPv3, snmp++ will use libdes
// (separate package) as default.
// define _USE_LIBTOMCRYPT if you want to use libtomcrypt instead
// Note that _USE_OPENSSL will override libtomcrypt for SHA1, MD5, DES
and AES.
#define _USE_LIBTOMCRYPT

// If you define _USE_OPENSSL, snmp++ will use OpenSSL for SHA1,
// MD5, DES and AES. Please note that you will have to change the Makefiles
// of the examples: Add -lssl to the link command
// #define _USE_OPENSSL

Regards,
  Jochen



More information about the AGENTPP mailing list