Searched refs:alg (Results 126 - 150 of 177) sorted by relevance

12345678

/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_record.c61 rl->cipher_alg = data->alg;
/external/wpa_supplicant_8/wpa_supplicant/
H A Ddriver_i.h144 enum wpa_alg alg, const u8 *addr,
149 if (alg != WPA_ALG_NONE) {
157 alg, addr, key_idx, set_tx,
143 wpa_drv_set_key(struct wpa_supplicant *wpa_s, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211.c2375 static u32 wpa_alg_to_cipher_suite(enum wpa_alg alg, size_t key_len) argument
2377 switch (alg) {
2407 alg);
2412 alg);
2496 enum wpa_alg alg, const u8 *addr,
2512 wpa_printf(MSG_DEBUG, "%s: ifindex=%d (%s) alg=%d addr=%p key_idx=%d "
2514 __func__, ifindex, ifname, alg, addr, key_idx, set_tx,
2523 if (alg == WPA_ALG_PMK &&
2531 if (alg == WPA_ALG_NONE) {
2538 suite = wpa_alg_to_cipher_suite(alg, key_le
2495 wpa_driver_nl80211_set_key(const char *ifname, struct i802_bss *bss, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
2640 nl_add_key(struct nl_msg *msg, enum wpa_alg alg, int key_idx, int defkey, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
7195 driver_nl80211_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
[all...]
H A Ddriver_bsd.c292 bsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
301 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%p key_idx=%d set_tx=%d "
302 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx,
305 if (alg == WPA_ALG_NONE) {
315 switch (alg) {
326 wpa_printf(MSG_ERROR, "%s: unknown alg=%d", __func__, alg);
H A Ddriver_atheros.c472 atheros_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
481 if (alg == WPA_ALG_NONE)
484 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%s key_idx=%d",
485 __func__, alg, ether_sprintf(addr), key_idx);
487 switch (alg) {
526 __func__, alg);
554 " key_idx %d alg %d key_len %lu set_tx %d)",
556 alg, (unsigned long) key_len, set_tx);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211.c2375 static u32 wpa_alg_to_cipher_suite(enum wpa_alg alg, size_t key_len) argument
2377 switch (alg) {
2407 alg);
2412 alg);
2496 enum wpa_alg alg, const u8 *addr,
2512 wpa_printf(MSG_DEBUG, "%s: ifindex=%d (%s) alg=%d addr=%p key_idx=%d "
2514 __func__, ifindex, ifname, alg, addr, key_idx, set_tx,
2523 if (alg == WPA_ALG_PMK &&
2531 if (alg == WPA_ALG_NONE) {
2538 suite = wpa_alg_to_cipher_suite(alg, key_le
2495 wpa_driver_nl80211_set_key(const char *ifname, struct i802_bss *bss, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
2640 nl_add_key(struct nl_msg *msg, enum wpa_alg alg, int key_idx, int defkey, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
7195 driver_nl80211_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
[all...]
H A Ddriver_bsd.c292 bsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
301 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%p key_idx=%d set_tx=%d "
302 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx,
305 if (alg == WPA_ALG_NONE) {
315 switch (alg) {
326 wpa_printf(MSG_ERROR, "%s: unknown alg=%d", __func__, alg);
H A Ddriver_atheros.c472 atheros_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
481 if (alg == WPA_ALG_NONE)
484 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%s key_idx=%d",
485 __func__, alg, ether_sprintf(addr), key_idx);
487 switch (alg) {
526 __func__, alg);
554 " key_idx %d alg %d key_len %lu set_tx %d)",
556 alg, (unsigned long) key_len, set_tx);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211.c2375 static u32 wpa_alg_to_cipher_suite(enum wpa_alg alg, size_t key_len) argument
2377 switch (alg) {
2407 alg);
2412 alg);
2496 enum wpa_alg alg, const u8 *addr,
2512 wpa_printf(MSG_DEBUG, "%s: ifindex=%d (%s) alg=%d addr=%p key_idx=%d "
2514 __func__, ifindex, ifname, alg, addr, key_idx, set_tx,
2523 if (alg == WPA_ALG_PMK &&
2531 if (alg == WPA_ALG_NONE) {
2538 suite = wpa_alg_to_cipher_suite(alg, key_le
2495 wpa_driver_nl80211_set_key(const char *ifname, struct i802_bss *bss, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
2640 nl_add_key(struct nl_msg *msg, enum wpa_alg alg, int key_idx, int defkey, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
7195 driver_nl80211_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
[all...]
H A Ddriver_bsd.c292 bsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
301 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%p key_idx=%d set_tx=%d "
302 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx,
305 if (alg == WPA_ALG_NONE) {
315 switch (alg) {
326 wpa_printf(MSG_ERROR, "%s: unknown alg=%d", __func__, alg);
H A Ddriver_atheros.c472 atheros_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
481 if (alg == WPA_ALG_NONE)
484 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%s key_idx=%d",
485 __func__, alg, ether_sprintf(addr), key_idx);
487 switch (alg) {
526 __func__, alg);
554 " key_idx %d alg %d key_len %lu set_tx %d)",
556 alg, (unsigned long) key_len, set_tx);
/external/boringssl/include/openssl/
H A Dx509.h618 OPENSSL_EXPORT int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig);
717 OPENSSL_EXPORT int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype, void *pval);
720 OPENSSL_EXPORT void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
1108 OPENSSL_EXPORT int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
1111 OPENSSL_EXPORT X509_ALGOR *PKCS5_pbe_set(int alg, int iter,
/external/boringssl/src/include/openssl/
H A Dx509.h618 OPENSSL_EXPORT int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig);
717 OPENSSL_EXPORT int X509_ALGOR_set0(X509_ALGOR *alg, const ASN1_OBJECT *aobj, int ptype, void *pval);
720 OPENSSL_EXPORT void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
1108 OPENSSL_EXPORT int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
1111 OPENSSL_EXPORT X509_ALGOR *PKCS5_pbe_set(int alg, int iter,
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth_ft.c759 enum wpa_alg alg, const u8 *addr, int idx,
764 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
771 enum wpa_alg alg; local
775 alg = wpa_cipher_to_alg(sm->pairwise);
778 wpa_printf(MSG_DEBUG, "FT: Unknown pairwise alg 0x%x - skip "
789 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0,
757 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
H A Dwpa_auth.c125 enum wpa_alg alg, const u8 *addr, int idx,
130 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
1412 int alg; local
1481 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1482 WPA_PUT_BE16(key->key_length, wpa_cipher_key_len(alg));
2336 enum wpa_alg alg = wpa_cipher_to_alg(sm->pairwise); local
2338 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0,
2851 enum wpa_alg alg; local
2854 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
2858 wpa_auth_set_key(wpa_auth, group->vlan_id, alg,
123 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
[all...]
H A Dap_drv_ops.h85 enum wpa_alg alg, const u8 *addr,
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ft.c759 enum wpa_alg alg, const u8 *addr, int idx,
764 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
771 enum wpa_alg alg; local
775 alg = wpa_cipher_to_alg(sm->pairwise);
778 wpa_printf(MSG_DEBUG, "FT: Unknown pairwise alg 0x%x - skip "
789 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0,
757 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
H A Dwpa_auth.c125 enum wpa_alg alg, const u8 *addr, int idx,
130 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
1412 int alg; local
1481 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1482 WPA_PUT_BE16(key->key_length, wpa_cipher_key_len(alg));
2336 enum wpa_alg alg = wpa_cipher_to_alg(sm->pairwise); local
2338 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0,
2851 enum wpa_alg alg; local
2854 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
2858 wpa_auth_set_key(wpa_auth, group->vlan_id, alg,
123 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
[all...]
H A Dap_drv_ops.h85 enum wpa_alg alg, const u8 *addr,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ft.c759 enum wpa_alg alg, const u8 *addr, int idx,
764 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
771 enum wpa_alg alg; local
775 alg = wpa_cipher_to_alg(sm->pairwise);
778 wpa_printf(MSG_DEBUG, "FT: Unknown pairwise alg 0x%x - skip "
789 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0,
757 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
H A Dwpa_auth.c125 enum wpa_alg alg, const u8 *addr, int idx,
130 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
1412 int alg; local
1481 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1482 WPA_PUT_BE16(key->key_length, wpa_cipher_key_len(alg));
2336 enum wpa_alg alg = wpa_cipher_to_alg(sm->pairwise); local
2338 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0,
2851 enum wpa_alg alg; local
2854 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
2858 wpa_auth_set_key(wpa_auth, group->vlan_id, alg,
123 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
[all...]
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp4433 const char *alg = algorithmChars.c_str();
4436 if (strcasecmp(alg, "md4") == 0) {
4438 } else if (strcasecmp(alg, "md5") == 0) {
4440 } else if (strcasecmp(alg, "sha1") == 0) {
4442 } else if (strcasecmp(alg, "sha224") == 0) {
4444 } else if (strcasecmp(alg, "sha256") == 0) {
4446 } else if (strcasecmp(alg, "sha384") == 0) {
4448 } else if (strcasecmp(alg, "sha512") == 0) {
4451 JNI_TRACE("NativeCrypto_EVP_get_digestbyname(%s) => error", alg);
4752 const char *alg
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dwireless.h620 /* struct iw_encode_ext ->alg */
838 __u16 alg; /* IW_ENCODE_ALG_* */ member in struct:iw_encode_ext
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa.h29 int (*set_key)(void *ctx, enum wpa_alg alg,
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa.h29 int (*set_key)(void *ctx, enum wpa_alg alg,

Completed in 1718 milliseconds

12345678