Home
last modified time | relevance | path

Searched refs:rtattr (Results 1 – 42 of 42) sorted by relevance

/linux-4.4.14/include/crypto/
Dalgapi.h23 struct rtattr;
56 struct crypto_instance *(*alloc)(struct rtattr **tb);
58 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
163 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
164 int crypto_check_attr_type(struct rtattr **tb, u32 type);
165 const char *crypto_attr_alg_name(struct rtattr *rta);
166 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
170 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, in crypto_attr_alg()
176 int crypto_attr_u32(struct rtattr *rta, u32 *num);
353 static inline struct crypto_alg *crypto_get_attr_alg(struct rtattr **tb, in crypto_get_attr_alg()
/linux-4.4.14/include/uapi/linux/
Drtnetlink.h156 struct rtattr { struct
165 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
166 (rta)->rta_len >= sizeof(struct rtattr) && \
169 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
170 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
319 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
357 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
543 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
661 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
Dif_addr.h65 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
Dif_link.h160 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
/linux-4.4.14/crypto/
Dalgboss.c29 struct rtattr *tb[CRYPTO_MAX_ATTRS + 2];
32 struct rtattr attr;
37 struct rtattr attr;
39 struct rtattr attr;
43 struct rtattr attr;
Dalgapi.c732 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb) in crypto_get_attr_type()
734 struct rtattr *rta = tb[0]; in crypto_get_attr_type()
750 int crypto_check_attr_type(struct rtattr **tb, u32 type) in crypto_check_attr_type()
765 const char *crypto_attr_alg_name(struct rtattr *rta) in crypto_attr_alg_name()
783 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, in crypto_attr_alg2()
797 int crypto_attr_u32(struct rtattr *rta, u32 *num) in crypto_attr_u32()
Dseqiv.c254 struct rtattr **tb) in seqiv_ablkcipher_create()
288 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
330 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
Dauthenc.c54 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys()
381 struct rtattr **tb) in crypto_authenc_create()
Dcryptd.c171 static inline void cryptd_check_internal(struct rtattr **tb, u32 *type, in cryptd_check_internal()
341 struct rtattr **tb, in cryptd_create_blkcipher()
602 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
773 struct rtattr **tb, in cryptd_create_aead()
833 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
Dccm.c505 struct rtattr **tb, in crypto_ccm_create_common()
608 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
637 struct rtattr **tb) in crypto_ccm_base_create()
808 struct rtattr **tb) in crypto_rfc4309_create()
Dmcryptd.c261 static inline void mcryptd_check_internal(struct rtattr **tb, u32 *type, in mcryptd_check_internal()
490 static int mcryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in mcryptd_create_hash()
557 static int mcryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in mcryptd_create()
Dpcrypt.c273 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
336 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
Dchacha20poly1305.c569 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
681 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
686 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
Dablkcipher.c533 struct rtattr *tb[3]; in crypto_givcipher_default()
535 struct rtattr attr; in crypto_givcipher_default()
539 struct rtattr attr; in crypto_givcipher_default()
Dgcm.c620 struct rtattr **tb, in crypto_gcm_create_common()
726 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
755 struct rtattr **tb) in crypto_gcm_base_create()
923 struct rtattr **tb) in crypto_rfc4106_create()
1160 struct rtattr **tb) in crypto_rfc4543_create()
Decb.c118 static struct crypto_instance *crypto_ecb_alloc(struct rtattr **tb) in crypto_ecb_alloc()
Dctr.c181 static struct crypto_instance *crypto_ctr_alloc(struct rtattr **tb) in crypto_ctr_alloc()
336 static struct crypto_instance *crypto_rfc3686_alloc(struct rtattr **tb) in crypto_rfc3686_alloc()
Deseqiv.c192 static struct crypto_instance *eseqiv_alloc(struct rtattr **tb) in eseqiv_alloc()
Dechainiv.c179 struct rtattr **tb) in echainiv_aead_create()
Dxcbc.c199 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
Dcmac.c225 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
Dhmac.c181 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
Dchainiv.c262 static struct crypto_instance *chainiv_alloc(struct rtattr **tb) in chainiv_alloc()
Dkeywrap.c343 static struct crypto_instance *crypto_kw_alloc(struct rtattr **tb) in crypto_kw_alloc()
Dpcbc.c224 static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) in crypto_pcbc_alloc()
Dcbc.c214 static struct crypto_instance *crypto_cbc_alloc(struct rtattr **tb) in crypto_cbc_alloc()
Dxts.c287 static struct crypto_instance *alloc(struct rtattr **tb) in alloc()
Dcts.c274 static struct crypto_instance *crypto_cts_alloc(struct rtattr **tb) in crypto_cts_alloc()
Daead.c192 struct rtattr **tb, u32 type, u32 mask) in aead_geniv_alloc()
Dlrw.c326 static struct crypto_instance *alloc(struct rtattr **tb) in alloc()
Dahash.c610 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in ahash_attr_alg()
Dauthencesn.c397 struct rtattr **tb) in crypto_authenc_esn_create()
Dshash.c695 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in shash_attr_alg()
Dblkcipher.c582 struct rtattr **tb, u32 type, in skcipher_geniv_alloc()
Dvmac.c643 static int vmac_create(struct crypto_template *tmpl, struct rtattr **tb) in vmac_create()
/linux-4.4.14/include/crypto/internal/
Dskcipher.h20 struct rtattr;
63 struct rtattr **tb, u32 type,
Dgeniv.h28 struct rtattr **tb, u32 type, u32 mask);
Dhash.h95 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
114 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
Daead.h21 struct rtattr;
/linux-4.4.14/arch/x86/crypto/
Dfpu.c102 static struct crypto_instance *crypto_fpu_alloc(struct rtattr **tb) in crypto_fpu_alloc()
/linux-4.4.14/net/ipv6/
Desp6.c530 struct rtattr *rta; in esp_init_authenc()
/linux-4.4.14/net/ipv4/
Desp4.c588 struct rtattr *rta; in esp_init_authenc()