Searched refs:alg (Results 1 – 11 of 11) sorted by relevance
/net/wireless/ |
D | lib80211.c | 167 struct lib80211_crypto_alg *alg; in lib80211_register_crypto_ops() local 169 alg = kzalloc(sizeof(*alg), GFP_KERNEL); in lib80211_register_crypto_ops() 170 if (alg == NULL) in lib80211_register_crypto_ops() 173 alg->ops = ops; in lib80211_register_crypto_ops() 176 list_add(&alg->list, &lib80211_crypto_algs); in lib80211_register_crypto_ops() 188 struct lib80211_crypto_alg *alg; in lib80211_unregister_crypto_ops() local 192 list_for_each_entry(alg, &lib80211_crypto_algs, list) { in lib80211_unregister_crypto_ops() 193 if (alg->ops == ops) in lib80211_unregister_crypto_ops() 202 list_del(&alg->list); in lib80211_unregister_crypto_ops() 204 kfree(alg); in lib80211_unregister_crypto_ops() [all …]
|
D | wext-compat.c | 696 switch (ext->alg) { in cfg80211_wext_siwencodeext()
|
/net/mac80211/ |
D | rate.c | 120 struct rate_control_alg *alg; in ieee80211_rate_control_register() local 126 list_for_each_entry(alg, &rate_ctrl_algs, list) { in ieee80211_rate_control_register() 127 if (!strcmp(alg->ops->name, ops->name)) { in ieee80211_rate_control_register() 135 alg = kzalloc(sizeof(*alg), GFP_KERNEL); in ieee80211_rate_control_register() 136 if (alg == NULL) { in ieee80211_rate_control_register() 140 alg->ops = ops; in ieee80211_rate_control_register() 142 list_add_tail(&alg->list, &rate_ctrl_algs); in ieee80211_rate_control_register() 151 struct rate_control_alg *alg; in ieee80211_rate_control_unregister() local 154 list_for_each_entry(alg, &rate_ctrl_algs, list) { in ieee80211_rate_control_unregister() 155 if (alg->ops == ops) { in ieee80211_rate_control_unregister() [all …]
|
D | aead_api.c | 86 aead_key_setup_encrypt(const char *alg, const u8 key[], in aead_key_setup_encrypt() argument 92 tfm = crypto_alloc_aead(alg, 0, CRYPTO_ALG_ASYNC); in aead_key_setup_encrypt()
|
D | aead_api.h | 10 aead_key_setup_encrypt(const char *alg, const u8 key[],
|
/net/ceph/crush/ |
D | crush.c | 10 const char *crush_bucket_alg_name(int alg) in crush_bucket_alg_name() argument 12 switch (alg) { in crush_bucket_alg_name() 32 switch (b->alg) { in crush_get_bucket_item_weight() 85 switch (b->alg) { in crush_destroy_bucket()
|
D | mapper.c | 384 switch (in->alg) { in crush_bucket_choose() 404 dprintk("unknown bucket %d alg %d\n", in->id, in->alg); in crush_bucket_choose() 710 if (in->alg == CRUSH_BUCKET_UNIFORM && in crush_choose_indep() 869 switch (map->buckets[b]->alg) { in crush_init_workspace()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 153 int alg; in get_key() local 155 p = simple_get_bytes(p, end, &alg, sizeof(alg)); in get_key() 159 switch (alg) { in get_key() 164 alg = ENCTYPE_DES_CBC_RAW; in get_key() 168 if (!supported_gss_krb5_enctype(alg)) { in get_key() 170 "encryption key algorithm %d\n", alg); in get_key()
|
/net/sctp/ |
D | Kconfig | 72 bool "Use no hmac alg in SCTP cookie generation"
|
D | socket.c | 8527 char alg[32]; in sctp_listen_start() local 8531 sprintf(alg, "hmac(%s)", sp->sctp_hmac_alg); in sctp_listen_start() 8532 tfm = crypto_alloc_shash(alg, 0, 0); in sctp_listen_start()
|
/net/ceph/ |
D | osdmap.c | 401 switch (c->buckets[b]->alg) { in crush_finalize() 461 u32 alg; in crush_decode() local 464 ceph_decode_32_safe(p, end, alg, bad); in crush_decode() 465 if (alg == 0) { in crush_decode() 472 switch (alg) { in crush_decode() 499 b->alg = ceph_decode_8(p); in crush_decode() 515 switch (b->alg) { in crush_decode()
|