Home
last modified time | relevance | path

Searched refs:skb (Results 1 – 13 of 13) sorted by relevance

/crypto/
Dcrypto_user_stat.c31 static int crypto_report_aead(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_aead() argument
45 return nla_put(skb, CRYPTOCFGA_STAT_AEAD, sizeof(raead), &raead); in crypto_report_aead()
48 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher() argument
62 return nla_put(skb, CRYPTOCFGA_STAT_CIPHER, sizeof(rcipher), &rcipher); in crypto_report_cipher()
65 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp() argument
78 return nla_put(skb, CRYPTOCFGA_STAT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
81 static int crypto_report_acomp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_acomp() argument
94 return nla_put(skb, CRYPTOCFGA_STAT_ACOMP, sizeof(racomp), &racomp); in crypto_report_acomp()
97 static int crypto_report_akcipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_akcipher() argument
112 return nla_put(skb, CRYPTOCFGA_STAT_AKCIPHER, in crypto_report_akcipher()
[all …]
Dcrypto_user_base.c72 static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_cipher() argument
84 return nla_put(skb, CRYPTOCFGA_REPORT_CIPHER, in crypto_report_cipher()
88 static int crypto_report_comp(struct sk_buff *skb, struct crypto_alg *alg) in crypto_report_comp() argument
96 return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
100 struct crypto_user_alg *ualg, struct sk_buff *skb) in crypto_report_one() argument
115 if (nla_put_u32(skb, CRYPTOCFGA_PRIORITY_VAL, alg->cra_priority)) in crypto_report_one()
122 if (nla_put(skb, CRYPTOCFGA_REPORT_LARVAL, sizeof(rl), &rl)) in crypto_report_one()
128 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
136 if (crypto_report_cipher(skb, alg)) in crypto_report_one()
141 if (crypto_report_comp(skb, alg)) in crypto_report_one()
[all …]
Dkpp.c24 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() argument
32 return nla_put(skb, CRYPTOCFGA_REPORT_KPP, sizeof(rkpp), &rkpp); in crypto_kpp_report()
35 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() argument
Dakcipher.c24 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() argument
32 return nla_put(skb, CRYPTOCFGA_REPORT_AKCIPHER, in crypto_akcipher_report()
36 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() argument
Dacompress.c27 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report() argument
35 return nla_put(skb, CRYPTOCFGA_REPORT_ACOMP, sizeof(racomp), &racomp); in crypto_acomp_report()
38 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_acomp_report() argument
Drng.c70 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() argument
80 return nla_put(skb, CRYPTOCFGA_REPORT_RNG, sizeof(rrng), &rrng); in crypto_rng_report()
83 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() argument
Dscompress.c42 static int crypto_scomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() argument
50 return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, in crypto_scomp_report()
54 static int crypto_scomp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_scomp_report() argument
Dablkcipher.c359 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ablkcipher_report() argument
373 return nla_put(skb, CRYPTOCFGA_REPORT_BLKCIPHER, in crypto_ablkcipher_report()
377 static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ablkcipher_report() argument
Daead.c151 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() argument
165 return nla_put(skb, CRYPTOCFGA_REPORT_AEAD, sizeof(raead), &raead); in crypto_aead_report()
168 static int crypto_aead_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_aead_report() argument
Dshash.c402 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() argument
414 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
417 static int crypto_shash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_shash_report() argument
Dahash.c513 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() argument
524 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_ahash_report()
527 static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_ahash_report() argument
Dblkcipher.c501 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report() argument
515 return nla_put(skb, CRYPTOCFGA_REPORT_BLKCIPHER, in crypto_blkcipher_report()
519 static int crypto_blkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_blkcipher_report() argument
Dskcipher.c941 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() argument
957 return nla_put(skb, CRYPTOCFGA_REPORT_BLKCIPHER, in crypto_skcipher_report()
961 static int crypto_skcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_skcipher_report() argument