Searched refs:algs (Results 1 – 13 of 13) sorted by relevance
/external/wpa_supplicant/ |
D | driver_ipw.c | 350 int algs = 0; in wpa_driver_ipw_set_auth_alg() local 353 algs |= 1; in wpa_driver_ipw_set_auth_alg() 355 algs |= 2; in wpa_driver_ipw_set_auth_alg() 357 algs |= 4; in wpa_driver_ipw_set_auth_alg() 358 if (algs == 0) in wpa_driver_ipw_set_auth_alg() 359 algs = 1; /* at least one algorithm should be set */ in wpa_driver_ipw_set_auth_alg() 361 wpa_printf(MSG_DEBUG, "%s: auth_alg=0x%x", __FUNCTION__, algs); in wpa_driver_ipw_set_auth_alg() 362 return ipw_set_wpa_param(drv, IPW_PARAM_AUTH_ALGS, algs); in wpa_driver_ipw_set_auth_alg()
|
D | driver_hostap.c | 407 int algs = 0; in wpa_driver_hostap_set_auth_alg() local 410 algs |= 1; in wpa_driver_hostap_set_auth_alg() 412 algs |= 2; in wpa_driver_hostap_set_auth_alg() 414 algs |= 4; in wpa_driver_hostap_set_auth_alg() 415 if (algs == 0) in wpa_driver_hostap_set_auth_alg() 416 algs = 1; /* at least one algorithm should be set */ in wpa_driver_hostap_set_auth_alg() 418 return prism2param(drv, PRISM2_PARAM_AP_AUTH_ALGS, algs); in wpa_driver_hostap_set_auth_alg()
|
D | wpa_supplicant.c | 1382 int algs = AUTH_ALG_OPEN_SYSTEM; in wpa_supplicant_associate() local 1413 algs = AUTH_ALG_LEAP; in wpa_supplicant_associate() 1415 algs |= AUTH_ALG_LEAP; in wpa_supplicant_associate() 1419 wpa_printf(MSG_DEBUG, "Automatic auth_alg selection: 0x%x", algs); in wpa_supplicant_associate() 1421 algs = 0; in wpa_supplicant_associate() 1423 algs |= AUTH_ALG_OPEN_SYSTEM; in wpa_supplicant_associate() 1425 algs |= AUTH_ALG_SHARED_KEY; in wpa_supplicant_associate() 1427 algs |= AUTH_ALG_LEAP; in wpa_supplicant_associate() 1429 algs); in wpa_supplicant_associate() 1431 wpa_drv_set_auth_alg(wpa_s, algs); in wpa_supplicant_associate() [all …]
|
D | tls_schannel.c | 721 ALG_ID algs[1]; in tls_connection_set_params() local 739 algs[0] = CALG_RSA_KEYX; in tls_connection_set_params() 741 conn->schannel_cred.palgSupportedAlgs = algs; in tls_connection_set_params()
|
D | mlme.c | 1136 u8 algs[num_algs]; in ieee80211_rx_mgmt_auth() local 1138 algs[0] = algs[1] = algs[2] = 0xff; in ieee80211_rx_mgmt_auth() 1140 algs[0] = WLAN_AUTH_OPEN; in ieee80211_rx_mgmt_auth() 1143 algs[1] = WLAN_AUTH_SHARED_KEY; in ieee80211_rx_mgmt_auth() 1145 algs[2] = WLAN_AUTH_LEAP; in ieee80211_rx_mgmt_auth() 1156 if (algs[pos] == wpa_s->mlme.auth_alg || in ieee80211_rx_mgmt_auth() 1157 algs[pos] == 0xff) in ieee80211_rx_mgmt_auth() 1159 if (algs[pos] == WLAN_AUTH_SHARED_KEY && in ieee80211_rx_mgmt_auth() 1162 wpa_s->mlme.auth_alg = algs[pos]; in ieee80211_rx_mgmt_auth()
|
D | driver_wext.c | 2020 int algs = 0, res; in wpa_driver_wext_set_auth_alg() local 2023 algs |= IW_AUTH_ALG_OPEN_SYSTEM; in wpa_driver_wext_set_auth_alg() 2025 algs |= IW_AUTH_ALG_SHARED_KEY; in wpa_driver_wext_set_auth_alg() 2027 algs |= IW_AUTH_ALG_LEAP; in wpa_driver_wext_set_auth_alg() 2028 if (algs == 0) { in wpa_driver_wext_set_auth_alg() 2030 algs = IW_AUTH_ALG_OPEN_SYSTEM; in wpa_driver_wext_set_auth_alg() 2034 algs); in wpa_driver_wext_set_auth_alg()
|
/external/ipsec-tools/ |
D | setup.c | 170 if (!sainfo.algs[class]) { in add_sainfo_algorithm() 171 sainfo.algs[class] = p; in add_sainfo_algorithm() 173 struct sainfoalg *q = sainfo.algs[class]; in add_sainfo_algorithm()
|
/external/ipsec-tools/src/racoon/ |
D | proposal.c | 647 if (sainfo->algs[algclass_ipsec_auth] == NULL) { 653 for (a = sainfo->algs[algclass_ipsec_auth]; a; a = a->next) { 674 if (sainfo->algs[algclass_ipsec_enc] == NULL) { 680 for (a = sainfo->algs[algclass_ipsec_enc]; a; a = a->next) { 681 for (b = sainfo->algs[algclass_ipsec_auth]; b; b = b->next) { 700 if (sainfo->algs[algclass_ipsec_comp] == NULL) { 706 for (a = sainfo->algs[algclass_ipsec_comp]; a; a = a->next) {
|
D | sainfo.h | 57 struct sainfoalg *algs[MAXALGCLASS]; member
|
D | sainfo.c | 185 delsainfoalg(si->algs[i]);
|
D | cfparse.y | 1137 if (cur_sainfo->algs[algclass_ipsec_enc] == 0) { 1142 if (cur_sainfo->algs[algclass_ipsec_auth] == 0) { 1147 if (cur_sainfo->algs[algclass_ipsec_comp] == 0) { 1425 inssainfoalg(&cur_sainfo->algs[cur_algclass], $1); 1429 inssainfoalg(&cur_sainfo->algs[cur_algclass], $1);
|
D | handler.c | 1198 for (alg = sainfo->algs[algclass_ipsec_auth]; alg; alg = alg->next) { in revalidate_ph2() 1209 for (alg = sainfo->algs[algclass_ipsec_enc]; in revalidate_ph2()
|
/external/openssl/ssl/ |
D | s3_clnt.c | 2509 long algs; in ssl3_check_cert_and_algorithm() local 2521 algs=s->s3->tmp.new_cipher->algorithms; in ssl3_check_cert_and_algorithm() 2524 if (algs & (SSL_aDH|SSL_aNULL|SSL_aKRB5)) in ssl3_check_cert_and_algorithm() 2564 if ((algs & SSL_aRSA) && !has_bits(i,EVP_PK_RSA|EVP_PKT_SIGN)) in ssl3_check_cert_and_algorithm() 2570 else if ((algs & SSL_aDSS) && !has_bits(i,EVP_PK_DSA|EVP_PKT_SIGN)) in ssl3_check_cert_and_algorithm() 2577 if ((algs & SSL_kRSA) && in ssl3_check_cert_and_algorithm() 2585 if ((algs & SSL_kEDH) && in ssl3_check_cert_and_algorithm() 2591 else if ((algs & SSL_kDHr) && !has_bits(i,EVP_PK_DH|EVP_PKS_RSA)) in ssl3_check_cert_and_algorithm() 2597 else if ((algs & SSL_kDHd) && !has_bits(i,EVP_PK_DH|EVP_PKS_DSA)) in ssl3_check_cert_and_algorithm() 2608 if (algs & SSL_kRSA) in ssl3_check_cert_and_algorithm() [all …]
|