Home
last modified time | relevance | path

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

/btstack/3rd-party/lwip/core/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 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 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_msg.c1815 snmpv3_priv_algo_t algo; in snmp_complete_outbound_frame() local
1824 OF_BUILD_EXEC(snmpv3_get_user((char *)request->msg_user_name, NULL, NULL, &algo, key)); in snmp_complete_outbound_frame()
1828 … request->msg_authoritative_engine_time, algo, SNMP_V3_PRIV_MODE_ENCRYPT)); in snmp_complete_outbound_frame()
1833 snmpv3_auth_algo_t algo; in snmp_complete_outbound_frame() local
1836 OF_BUILD_EXEC(snmpv3_get_user((char *)request->msg_user_name, &algo, key, NULL, NULL)); in snmp_complete_outbound_frame()
1839 …_EXEC(snmpv3_auth(&request->outbound_pbuf_stream, frame_size + outbound_padding, key, algo, hmac)); in snmp_complete_outbound_frame()
/btstack/port/stm32-f4discovery-usb/Drivers/STM32F4xx_HAL_Driver/Src/
H A Dstm32f4xx_hal_cryp.c945 uint32_t algo; in HAL_CRYP_Encrypt() local
977 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
979 switch (algo) in HAL_CRYP_Encrypt()
1050 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1052 switch (algo) in HAL_CRYP_Encrypt()
1119 uint32_t algo; in HAL_CRYP_Decrypt() local
1151 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1153 switch (algo) in HAL_CRYP_Decrypt()
1224 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1226 switch (algo) in HAL_CRYP_Decrypt()
[all …]