Searched refs:creds (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials_shell.c | 29 struct wifi_credentials_personal creds = {0}; in print_network_info() local 32 ret = wifi_credentials_get_by_ssid_personal_struct(ssid, ssid_len, &creds); in print_network_info() 43 ssid_len, wifi_security_txt(creds.header.type)); in print_network_info() 45 if (creds.header.type == WIFI_SECURITY_TYPE_PSK || in print_network_info() 46 creds.header.type == WIFI_SECURITY_TYPE_PSK_SHA256 || in print_network_info() 47 creds.header.type == WIFI_SECURITY_TYPE_SAE || in print_network_info() 48 creds.header.type == WIFI_SECURITY_TYPE_WPA_PSK) { in print_network_info() 50 ", password: \"%.*s\", password_len: %d", (int)creds.password_len, in print_network_info() 51 creds.password, creds.password_len); in print_network_info() 54 if (creds.header.flags & WIFI_CREDENTIALS_FLAG_BSSID) { in print_network_info() [all …]
|
D | wifi_credentials.c | 151 int wifi_credentials_set_personal_struct(const struct wifi_credentials_personal *creds) in wifi_credentials_set_personal_struct() argument 156 if (creds == NULL) { in wifi_credentials_set_personal_struct() 161 if (creds->header.ssid_len > WIFI_SSID_MAX_LEN || creds->header.ssid_len == 0) { in wifi_credentials_set_personal_struct() 168 idx = lookup_idx(creds->header.ssid, creds->header.ssid_len); in wifi_credentials_set_personal_struct() 178 ret = wifi_credentials_store_entry(idx, creds, sizeof(struct wifi_credentials_personal)); in wifi_credentials_set_personal_struct() 184 wifi_credentials_cache_ssid(idx, &creds->header); in wifi_credentials_set_personal_struct()
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/ |
D | CMakeLists.txt | 9 set(creds "src/creds/dummy.c") variable 11 if(NOT EXISTS ${APPLICATION_SOURCE_DIR}/src/creds/key.c OR 12 NOT EXISTS ${APPLICATION_SOURCE_DIR}/src/creds/cert.c OR 13 NOT EXISTS ${APPLICATION_SOURCE_DIR}/src/creds/ca.c) 16 "'python3 src/creds/convert_keys.py' before building" 20 set(creds "src/creds/ca.c" "src/creds/key.c" "src/creds/cert.c") variable 23 target_sources(app PRIVATE "src/main.c" ${creds})
|
D | README.rst | 39 Copy these files to the :zephyr_file:`samples/net/cloud/aws_iot_mqtt/src/creds` 40 directory. Run the :zephyr_file:`samples/net/cloud/aws_iot_mqtt/src/creds/convert_keys.py`
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_mgmt.c | 1310 static int __stored_creds_to_params(struct wifi_credentials_personal *creds, in __stored_creds_to_params() argument 1318 ssid = (char *)k_malloc(creds->header.ssid_len + 1); in __stored_creds_to_params() 1325 memset(ssid, 0, creds->header.ssid_len + 1); in __stored_creds_to_params() 1326 ret = snprintf(ssid, creds->header.ssid_len + 1, "%s", creds->header.ssid); in __stored_creds_to_params() 1327 if (ret > creds->header.ssid_len) { in __stored_creds_to_params() 1334 params->ssid_length = creds->header.ssid_len; in __stored_creds_to_params() 1337 if (creds->password_len > 0) { in __stored_creds_to_params() 1338 psk = (char *)k_malloc(creds->password_len + 1); in __stored_creds_to_params() 1345 memset(psk, 0, creds->password_len + 1); in __stored_creds_to_params() 1346 ret = snprintf(psk, creds->password_len + 1, "%s", creds->password); in __stored_creds_to_params() [all …]
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/creds/ |
D | convert_keys.py | 31 creds = glob.glob(f"{creds_dir}/*.pem.*") variable 35 for cred in creds:
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_credentials.h | 165 int wifi_credentials_set_personal_struct(const struct wifi_credentials_personal *creds);
|
D | wifi_mgmt.h | 1555 struct wifi_enterprise_creds_params *creds);
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_api.h | 205 struct wifi_enterprise_creds_params *creds);
|
D | supp_api.c | 445 struct wifi_enterprise_creds_params *creds) in supplicant_add_enterprise_creds() argument 449 if (!creds) { in supplicant_add_enterprise_creds() 455 memcpy((void *)&enterprise_creds, (void *)creds, in supplicant_add_enterprise_creds()
|
/Zephyr-latest/ |
D | .ruff-excludes.toml | 1485 "./samples/net/cloud/aws_iot_mqtt/src/creds/convert_keys.py",
|