Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 7 of 7) sorted by relevance

/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/snmp/
H A Dsnmpv3_mbedtls.c53 const u8_t* key, u8_t algo, u8_t* hmac_out) in snmpv3_auth() argument
62 if (algo == SNMP_V3_AUTH_ALGO_MD5) { in snmpv3_auth()
65 } else if (algo == SNMP_V3_AUTH_ALGO_SHA) { in snmpv3_auth()
110 const u32_t engine_time, u8_t algo, u8_t mode) in snmpv3_crypt() argument
122 if (algo == SNMP_V3_PRIV_ALGO_DES) { in snmpv3_crypt()
172 } else if (algo == SNMP_V3_PRIV_ALGO_AES) { in snmpv3_crypt()
H A Dsnmpv3_priv.h59 err_t snmpv3_auth(struct snmp_pbuf_stream* stream, u16_t length, const u8_t* key, u8_t algo, u8_t* …
61 … const u8_t* priv_param, const u32_t engine_boots, const u32_t engine_time, u8_t algo, u8_t mode);
H A Dsnmp_msg.c771 u8_t algo; in snmp_parse_inbound_frame() local
784 IF_PARSE_EXEC(snmpv3_get_user((char*)request->msg_user_name, &algo, key, NULL, NULL)); in snmp_parse_inbound_frame()
785 IF_PARSE_EXEC(snmpv3_auth(&auth_stream, request->inbound_pbuf->tot_len, key, algo, hmac)); in snmp_parse_inbound_frame()
810 u8_t algo; in snmp_parse_inbound_frame() local
817 IF_PARSE_EXEC(snmpv3_get_user((char*)request->msg_user_name, NULL, NULL, &algo, key)); in snmp_parse_inbound_frame()
820 request->msg_authoritative_engine_time, algo, SNMP_V3_PRIV_MODE_DECRYPT)); in snmp_parse_inbound_frame()
1505 u8_t algo; in snmp_complete_outbound_frame() local
1514 OF_BUILD_EXEC(snmpv3_get_user((char*)request->msg_user_name, NULL, NULL, &algo, key)); in snmp_complete_outbound_frame()
1518 request->msg_authoritative_engine_time, algo, SNMP_V3_PRIV_MODE_ENCRYPT)); in snmp_complete_outbound_frame()
1523 u8_t algo; in snmp_complete_outbound_frame() local
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/snmp/
H A Dsnmpv3_mbedtls.c53 const u8_t *key, snmpv3_auth_algo_t algo, u8_t *hmac_out) in snmpv3_auth() argument
62 if (algo == SNMP_V3_AUTH_ALGO_MD5) { in snmpv3_auth()
65 } else if (algo == SNMP_V3_AUTH_ALGO_SHA) { in snmpv3_auth()
110 const u32_t engine_time, snmpv3_priv_algo_t algo, snmpv3_priv_mode_t mode) in snmpv3_crypt() argument
122 if (algo == SNMP_V3_PRIV_ALGO_DES) { in snmpv3_crypt()
179 } else if (algo == SNMP_V3_PRIV_ALGO_AES) { in snmpv3_crypt()
H A Dsnmpv3_priv.h61 … snmp_pbuf_stream *stream, u16_t length, const u8_t *key, snmpv3_auth_algo_t algo, u8_t *hmac_out);
63 …am, const u32_t engine_boots, const u32_t engine_time, snmpv3_priv_algo_t algo, snmpv3_priv_mode_t…
H A Dsnmp_snmpv2_usm.c60 static const struct snmp_obj_id *snmp_auth_algo_to_oid(snmpv3_auth_algo_t algo) in snmp_auth_algo_to_oid() argument
62 if (algo == SNMP_V3_AUTH_ALGO_MD5) { in snmp_auth_algo_to_oid()
64 } else if (algo == SNMP_V3_AUTH_ALGO_SHA) { in snmp_auth_algo_to_oid()
71 static const struct snmp_obj_id *snmp_priv_algo_to_oid(snmpv3_priv_algo_t algo) in snmp_priv_algo_to_oid() argument
73 if (algo == SNMP_V3_PRIV_ALGO_DES) { in snmp_priv_algo_to_oid()
75 } else if (algo == SNMP_V3_PRIV_ALGO_AES) { in snmp_priv_algo_to_oid()
H A Dsnmp_msg.c1787 snmpv3_priv_algo_t algo; in snmp_complete_outbound_frame() local
1796 OF_BUILD_EXEC(snmpv3_get_user((char *)request->msg_user_name, NULL, NULL, &algo, key)); in snmp_complete_outbound_frame()
1800 … request->msg_authoritative_engine_time, algo, SNMP_V3_PRIV_MODE_ENCRYPT)); in snmp_complete_outbound_frame()
1805 snmpv3_auth_algo_t algo; in snmp_complete_outbound_frame() local
1808 OF_BUILD_EXEC(snmpv3_get_user((char *)request->msg_user_name, &algo, key, NULL, NULL)); in snmp_complete_outbound_frame()
1811 …_EXEC(snmpv3_auth(&request->outbound_pbuf_stream, frame_size + outbound_padding, key, algo, hmac)); in snmp_complete_outbound_frame()