C
BYTE Snmpv3AESEncryptResponseScopedPdu( SNMPV3_RESPONSE_WHOLEMSG* plain_text );
Description
This routine encrypts SNMPV3 outgoing PDU using AES protocol to maintain the data confidentiality. The data is encrypted in Cipher Block Chaining mode. The length of the encrypted data should be multiple of 8 and it is not then then data is padded in the end if necessary. RFC - 3414. ( section 8)
Preconditions
SNMPv3Init() and ProcessVariabels() are called.
Parameters
Parameters |
Description |
plain_text |
whole PDU message |
Return Values
Return Values |
Description |
SNMPV3_MSG_PRIV_FAIL |
Failure |
SNMPV3_MSG_PRIV_PASS |
Success |
Remarks
None