Home
last modified time | relevance | path

Searched refs:pop (Results 1 – 25 of 84) sorted by relevance

1234

/hal_espressif-3.5.0/components/protocomm/test/
Dtest_protocomm.c53 const protocomm_security_pop_t *pop; member
191 const protocomm_security_pop_t *pop = session->pop; in verify_response0() local
192 if (pop != NULL && pop->data != NULL && pop->len != 0) { in verify_response0()
196 ret = mbedtls_sha256_ret((const unsigned char *) pop->data, pop->len, sha_out, 0); in verify_response0()
641 static esp_err_t start_test_service(uint8_t sec_ver, const protocomm_security_pop_t *pop) in start_test_service() argument
656 if (protocomm_set_security(test_pc, "test-sec", &protocomm_security1, pop) != ESP_OK) { in start_test_service()
689 protocomm_security_pop_t pop = { in test_security1_no_encryption() local
702 session->pop = &pop; in test_security1_no_encryption()
705 if (start_test_service(1, &pop) != ESP_OK) { in test_security1_no_encryption()
756 protocomm_security_pop_t pop = { in test_security1_session_overflow() local
[all …]
/hal_espressif-3.5.0/examples/provisioning/legacy/softap_prov/main/
Dapp_main.c69 const protocomm_security_pop_t *pop = NULL; in start_softap_provisioning() local
81 pop = &app_pop; in start_softap_provisioning()
100 ssid, CONFIG_EXAMPLE_PASS, security, pop)); in start_softap_provisioning()
116 char *pop = NULL; in softap_prov_print_qr() local
118 pop = CONFIG_EXAMPLE_POP; in softap_prov_print_qr()
121 if (pop) { in softap_prov_print_qr()
124 PROV_QR_VERSION, name, pop, PROV_TRANSPORT_SOFTAP); in softap_prov_print_qr()
Dapp_prov.c41 const protocomm_security_pop_t *pop; /*!< Pointer to proof of possession */ member
82 protocomm_set_security(g_prov->pc, "prov-session", &protocomm_security1, g_prov->pop); in app_prov_start_service()
324 int security, const protocomm_security_pop_t *pop) in app_prov_start_softap_provisioning() argument
341 g_prov->pop = pop; in app_prov_start_softap_provisioning()
/hal_espressif-3.5.0/examples/provisioning/legacy/ble_prov/main/
Dapp_main.c98 const protocomm_security_pop_t *pop = NULL; in start_ble_provisioning() local
110 pop = &app_pop; in start_ble_provisioning()
113 ESP_ERROR_CHECK(app_prov_start_ble_provisioning(security, pop)); in start_ble_provisioning()
129 char *pop = NULL; in ble_prov_print_qr() local
131 pop = CONFIG_EXAMPLE_POP; in ble_prov_print_qr()
134 if (pop) { in ble_prov_print_qr()
137 PROV_QR_VERSION, name, pop, PROV_TRANSPORT_BLE); in ble_prov_print_qr()
Dapp_prov.c50 const protocomm_security_pop_t *pop; /*!< Pointer to proof of possession */ member
138 protocomm_set_security(g_prov->pc, "prov-session", &protocomm_security1, g_prov->pop); in app_prov_start_service()
335 esp_err_t app_prov_start_ble_provisioning(int security, const protocomm_security_pop_t *pop) in app_prov_start_ble_provisioning() argument
352 g_prov->pop = pop; in app_prov_start_ble_provisioning()
Dapp_prov.h79 esp_err_t app_prov_start_ble_provisioning(int security, const protocomm_security_pop_t *pop);
/hal_espressif-3.5.0/components/protocomm/src/common/
Dprotocomm.c64 if (pc->pop) { in protocomm_delete()
65 free(pc->pop); in protocomm_delete()
289 pc->pop, session_id, in protocomm_common_security_handler()
300 const protocomm_security_pop_t *pop) in protocomm_set_security() argument
328 if (pop) { in protocomm_set_security()
329 pc->pop = malloc(sizeof(protocomm_security_pop_t)); in protocomm_set_security()
330 if (pc->pop == NULL) { in protocomm_set_security()
341 memcpy((void *)pc->pop, pop, sizeof(protocomm_security_pop_t)); in protocomm_set_security()
358 if (pc->pop) { in protocomm_unset_security()
359 free(pc->pop); in protocomm_unset_security()
[all …]
/hal_espressif-3.5.0/examples/provisioning/wifi_prov_mgr/main/
Dapp_main.c143 static void wifi_prov_print_qr(const char *name, const char *pop, const char *transport) in wifi_prov_print_qr() argument
150 if (pop) { in wifi_prov_print_qr()
153 PROV_QR_VERSION, name, pop, transport); in wifi_prov_print_qr()
263 const char *pop = "abcd1234"; in app_main() local
303 ESP_ERROR_CHECK(wifi_prov_mgr_start_provisioning(security, pop, service_name, service_key)); in app_main()
318 wifi_prov_print_qr(service_name, pop, PROV_TRANSPORT_BLE); in app_main()
320 wifi_prov_print_qr(service_name, pop, PROV_TRANSPORT_SOFTAP); in app_main()
/hal_espressif-3.5.0/examples/protocols/modbus/mb_example_common/include/
Dmodbus_params.h25 #pragma pack(pop)
33 #pragma pack(pop)
48 #pragma pack(pop)
63 #pragma pack(pop)
/hal_espressif-3.5.0/components/protocomm/src/security/
Dsecurity1.c176 const protocomm_security_pop_t *pop) in handle_session_command0() argument
281 if (pop != NULL && pop->data != NULL && pop->len != 0) { in handle_session_command0()
285 mbed_err = mbedtls_sha256_ret((const unsigned char *) pop->data, pop->len, sha_out, 0); in handle_session_command0()
357 const protocomm_security_pop_t *pop) in sec1_session_setup() argument
369 ret = handle_session_command0(cur_session, session_id, req, resp, pop); in sec1_session_setup()
516 const protocomm_security_pop_t *pop, in sec1_req_handler() argument
549 ret = sec1_session_setup(cur_session, session_id, req, &resp, pop); in sec1_req_handler()
Dsecurity0.c33 const protocomm_security_pop_t *pop) in sec0_session_setup() argument
69 const protocomm_security_pop_t *pop, in sec0_req_handler() argument
91 ret = sec0_session_setup(session_id, req, &resp, pop); in sec0_req_handler()
/hal_espressif-3.5.0/examples/provisioning/legacy/console_prov/main/
Dapp_prov.c41 const protocomm_security_pop_t *pop; /*!< Pointer to proof of possession */ member
79 protocomm_set_security(g_prov->pc, "prov-session", &protocomm_security1, g_prov->pop); in app_prov_start_service()
273 esp_err_t app_prov_start_console_provisioning(int security, const protocomm_security_pop_t *pop) in app_prov_start_console_provisioning() argument
290 g_prov->pop = pop; in app_prov_start_console_provisioning()
Dapp_main.c65 const protocomm_security_pop_t *pop = NULL; in start_console_provisioning() local
77 pop = &app_pop; in start_console_provisioning()
80 ESP_ERROR_CHECK(app_prov_start_console_provisioning(security, pop)); in start_console_provisioning()
Dapp_prov.h79 esp_err_t app_prov_start_console_provisioning(int security, const protocomm_security_pop_t *pop);
/hal_espressif-3.5.0/components/wifi_provisioning/src/
Dmanager.c94 protocomm_security_pop_t pop; member
313 &protocomm_security1, &prov_ctx->pop); in wifi_prov_mgr_start_service()
583 if (prov_ctx->pop.data) { in wifi_prov_mgr_stop_service()
584 free((void *)prov_ctx->pop.data); in wifi_prov_mgr_stop_service()
585 prov_ctx->pop.data = NULL; in wifi_prov_mgr_stop_service()
1392 esp_err_t wifi_prov_mgr_start_provisioning(wifi_prov_security_t security, const char *pop, in wifi_prov_mgr_start_provisioning() argument
1469 } else if (pop) { in wifi_prov_mgr_start_provisioning()
1470 prov_ctx->pop.len = strlen(pop); in wifi_prov_mgr_start_provisioning()
1471 prov_ctx->pop.data = malloc(prov_ctx->pop.len); in wifi_prov_mgr_start_provisioning()
1472 if (!prov_ctx->pop.data) { in wifi_prov_mgr_start_provisioning()
[all …]
/hal_espressif-3.5.0/tools/esp_prov/security/
Dsecurity1.py56 def __init__(self, pop, verbose): argument
59 self.pop = tobytes(pop)
125 if len(self.pop) > 0:
128 h.update(self.pop)
/hal_espressif-3.5.0/examples/provisioning/legacy/custom_config/main/
Dapp_main.c65 const protocomm_security_pop_t *pop = NULL; in start_softap_provisioning() local
77 pop = &app_pop; in start_softap_provisioning()
81 CONFIG_EXAMPLE_SSID, CONFIG_EXAMPLE_PASS, security, pop)); in start_softap_provisioning()
Dapp_prov.c43 const protocomm_security_pop_t *pop; /*!< Pointer to proof of possession */ member
85 protocomm_set_security(g_prov->pc, "prov-session", &protocomm_security1, g_prov->pop); in app_prov_start_service()
338 int security, const protocomm_security_pop_t *pop) in app_prov_start_softap_provisioning() argument
355 g_prov->pop = pop; in app_prov_start_softap_provisioning()
/hal_espressif-3.5.0/examples/protocols/esp_local_ctrl/scripts/
Desp_local_ctrl.py130 def get_security(secver, pop=None, verbose=False): argument
132 return security.Security1(pop, verbose)
346 if len(args.pop) == 0:
349 elif len(args.pop) != 0:
351 args.pop = ''
353 obj_security = get_security(args.secver, args.pop, False)
/hal_espressif-3.5.0/tools/esp_prov/
Desp_prov.py54 def get_security(secver, pop='', verbose=False): argument
56 return security.Security1(pop, verbose)
406 if len(args.pop) == 0:
409 elif len(args.pop) != 0:
411 args.pop = ''
413 obj_security = get_security(args.secver, args.pop, args.verbose)
/hal_espressif-3.5.0/tools/
Didf.py302 names = kwargs.pop('names')
351 kwargs['param_decls'] = kwargs.pop('names')
412 arguments = action.pop('arguments', [])
413 options = action.pop('options', [])
557 local_value = task.action_args.pop(key)
595 dep_task = tasks.pop(tasks.index(tasks_dict[dep]))
608 dep_task.action_args.pop(key)
616 tasks.insert(0, tasks.pop(tasks.index(tasks_dict[dep])))
621 tasks.pop(0)
/hal_espressif-3.5.0/examples/provisioning/legacy/ble_prov/
Dble_prov_test.py53 pop = 'abcd1234'
59 security = esp_prov.get_security(secver, pop, verbose)
/hal_espressif-3.5.0/examples/provisioning/wifi_prov_mgr/
Dwifi_prov_mgr_test.py53 pop = 'abcd1234'
59 security = esp_prov.get_security(secver, pop, verbose)
/hal_espressif-3.5.0/examples/provisioning/legacy/softap_prov/
Dsoftap_prov_test.py80 pop = 'abcd1234'
87 security = esp_prov.get_security(secver, pop, verbose)
/hal_espressif-3.5.0/tools/ci/python_packages/tiny_test_fw/Utility/
DCaseConfig.py190 _overwrite = cls.handle_overwrite_args(_config.pop('overwrite', dict()))
191 _extra_data = _config.pop('extra_data', None)

1234