Searched refs:alg (Results 1 - 9 of 9) sorted by relevance

/net/wireless/
H A Dlib80211.c199 struct lib80211_crypto_alg *alg; local
201 alg = kzalloc(sizeof(*alg), GFP_KERNEL);
202 if (alg == NULL)
205 alg->ops = ops;
208 list_add(&alg->list, &lib80211_crypto_algs);
220 struct lib80211_crypto_alg *alg; local
224 list_for_each_entry(alg, &lib80211_crypto_algs, list) {
225 if (alg->ops == ops)
234 list_del(&alg
243 struct lib80211_crypto_alg *alg; local
[all...]
H A Dwext-compat.c676 switch (ext->alg) {
/net/ceph/crush/
H A Dcrush.c13 const char *crush_bucket_alg_name(int alg) argument
15 switch (alg) {
34 switch (b->alg) {
82 switch (b->alg) {
H A Dmapper.c244 switch (in->alg) {
258 dprintk("unknown bucket %d alg %d\n", in->id, in->alg);
328 if (in->alg == CRUSH_BUCKET_UNIFORM) {
/net/mac80211/
H A Drate.c34 struct rate_control_alg *alg; local
40 list_for_each_entry(alg, &rate_ctrl_algs, list) {
41 if (!strcmp(alg->ops->name, ops->name)) {
49 alg = kzalloc(sizeof(*alg), GFP_KERNEL);
50 if (alg == NULL) {
54 alg->ops = ops;
56 list_add_tail(&alg->list, &rate_ctrl_algs);
65 struct rate_control_alg *alg; local
68 list_for_each_entry(alg,
82 struct rate_control_alg *alg; local
[all...]
/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c223 int alg; local
225 p = simple_get_bytes(p, end, &alg, sizeof(alg));
229 switch (alg) {
234 alg = ENCTYPE_DES_CBC_RAW;
238 if (!supported_gss_krb5_enctype(alg)) {
240 "encryption key algorithm %d\n", alg);
/net/ceph/
H A Dosdmap.c183 u32 alg; local
186 ceph_decode_32_safe(p, end, alg, bad);
187 if (alg == 0) {
194 switch (alg) {
219 b->alg = ceph_decode_8(p);
239 switch (b->alg) {
/net/xfrm/
H A Dxfrm_user.c35 static inline int aead_len(struct xfrm_algo_aead *alg) argument
37 return sizeof(*alg) + ((alg->alg_key_len + 7) / 8);
/net/sctp/
H A Dsocket.c6062 char alg[32]; local
6066 sprintf(alg, "hmac(%s)", sp->sctp_hmac_alg);
6067 tfm = crypto_alloc_hash(alg, 0, CRYPTO_ALG_ASYNC);

Completed in 821 milliseconds