Searched refs:SNMP_V3_MAX_AUTH_PARAM_LENGTH (Results 1 – 3 of 3) sorted by relevance
/third_party/lwip/src/apps/snmp/ |
D | snmpv3_priv.h | 49 #define SNMP_V3_MAX_AUTH_PARAM_LENGTH 12 macro
|
D | snmp_msg.c | 915 memset(request->msg_authentication_parameters, 0, SNMP_V3_MAX_AUTH_PARAM_LENGTH); in snmp_parse_inbound_frame() 1011 const u8_t zero_arr[SNMP_V3_MAX_AUTH_PARAM_LENGTH] = { 0 }; in snmp_parse_inbound_frame() 1016 if (request->msg_authentication_parameters_len > SNMP_V3_MAX_AUTH_PARAM_LENGTH) { in snmp_parse_inbound_frame() 1035 if (memcmp(request->msg_authentication_parameters, hmac, SNMP_V3_MAX_AUTH_PARAM_LENGTH)) { in snmp_parse_inbound_frame() 1372 memset(request->msg_authentication_parameters, 0, SNMP_V3_MAX_AUTH_PARAM_LENGTH); in snmp_prepare_outbound_frame() 1374 SNMP_ASN1_SET_TLV_PARAMS(tlv, SNMP_ASN1_TYPE_OCTET_STRING, 1, SNMP_V3_MAX_AUTH_PARAM_LENGTH); in snmp_prepare_outbound_frame() 1376 …_asn1_enc_raw(pbuf_stream, request->msg_authentication_parameters, SNMP_V3_MAX_AUTH_PARAM_LENGTH)); in snmp_prepare_outbound_frame() 1813 MEMCPY(request->msg_authentication_parameters, hmac, SNMP_V3_MAX_AUTH_PARAM_LENGTH); in snmp_complete_outbound_frame() 1819 SNMP_ASN1_SET_TLV_PARAMS(tlv, SNMP_ASN1_TYPE_OCTET_STRING, 1, SNMP_V3_MAX_AUTH_PARAM_LENGTH); in snmp_complete_outbound_frame() 1822 … request->msg_authentication_parameters, SNMP_V3_MAX_AUTH_PARAM_LENGTH)); in snmp_complete_outbound_frame()
|
D | snmp_msg.h | 120 u8_t msg_authentication_parameters[SNMP_V3_MAX_AUTH_PARAM_LENGTH];
|