Home
last modified time | relevance | path

Searched refs:key_length (Results 1 – 3 of 3) sorted by relevance

/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_ap.c182 const uint8_t *security_key, uint8_t key_length, uint8_t channel) in whd_wifi_init_ap() argument
258 ( (key_length < (uint8_t)WSEC_MIN_PSK_LEN) || (key_length > (uint8_t)WSEC_MAX_PSK_LEN) ) ) in whd_wifi_init_ap()
463 memcpy(psk->key, security_key, key_length); in whd_wifi_init_ap()
464 psk->key_len = htod16(key_length); in whd_wifi_init_ap()
514 whd_wifi_sae_password(ifp, security_key, key_length); in whd_wifi_init_ap()
521 whd_wifi_sae_password(ifp, security_key, key_length); in whd_wifi_init_ap()
526 memcpy(psk->key, security_key, key_length); in whd_wifi_init_ap()
527 psk->key_len = htod16(key_length); in whd_wifi_init_ap()
Dwhd_wifi_api.c315 uint8_t key_length,
321 const uint8_t *security_key, uint8_t key_length,
573 …t32_t whd_wifi_set_passphrase(whd_interface_t ifp, const uint8_t *security_key, uint8_t key_length) in whd_wifi_set_passphrase() argument
579 if (!ifp || !security_key || (key_length < KEY_MIN_LEN) || (key_length > KEY_MAX_LEN) ) in whd_wifi_set_passphrase()
593 memcpy(psk->key, security_key, key_length); in whd_wifi_set_passphrase()
594 psk->key_len = htod16(key_length); in whd_wifi_set_passphrase()
605 uint32_t whd_wifi_sae_password(whd_interface_t ifp, const uint8_t *security_key, uint8_t key_length) in whd_wifi_sae_password() argument
611 if (!ifp || !security_key || (key_length == 0) || (key_length > WSEC_MAX_SAE_PASSWORD_LEN) ) in whd_wifi_sae_password()
626 memcpy(sae_password->password, security_key, key_length); in whd_wifi_sae_password()
627 sae_password->password_len = htod16(key_length); in whd_wifi_sae_password()
[all …]
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/inc/
Dwhd_wifi_api.h349 const uint8_t *security_key, uint8_t key_length);
367 uint8_t key_length);
424 …32_t whd_wifi_set_passphrase(whd_interface_t ifp, const uint8_t *security_key, uint8_t key_length);
435 …nt32_t whd_wifi_sae_password(whd_interface_t ifp, const uint8_t *security_key, uint8_t key_length);
459 …hd_result_t whd_wifi_set_pmk(whd_interface_t ifp, const uint8_t *security_key, uint8_t key_length);
585 const uint8_t *security_key, uint8_t key_length, uint8_t channel);