Snmpv3AESEncryptResponseScopedPdu Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3AESEncryptResponseScopedPdu Function
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

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.