Home
last modified time | relevance | path

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

/linux-4.1.27/include/crypto/
Dalgapi.h21 struct rtattr;
53 struct crypto_instance *(*alloc)(struct rtattr **tb);
55 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
159 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
160 int crypto_check_attr_type(struct rtattr **tb, u32 type);
161 const char *crypto_attr_alg_name(struct rtattr *rta);
162 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
166 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, in crypto_attr_alg()
172 int crypto_attr_u32(struct rtattr *rta, u32 *num);
381 static inline struct crypto_alg *crypto_get_attr_alg(struct rtattr **tb, in crypto_get_attr_alg()
/linux-4.1.27/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))
316 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
351 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
534 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
652 #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.h159 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
/linux-4.1.27/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;
Dseqiv.c261 static struct crypto_instance *seqiv_ablkcipher_alloc(struct rtattr **tb) in seqiv_ablkcipher_alloc()
287 static struct crypto_instance *seqiv_aead_alloc(struct rtattr **tb) in seqiv_aead_alloc()
313 static struct crypto_instance *seqiv_alloc(struct rtattr **tb) in seqiv_alloc()
Dalgapi.c708 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb) in crypto_get_attr_type()
710 struct rtattr *rta = tb[0]; in crypto_get_attr_type()
726 int crypto_check_attr_type(struct rtattr **tb, u32 type) in crypto_check_attr_type()
741 const char *crypto_attr_alg_name(struct rtattr *rta) in crypto_attr_alg_name()
759 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, in crypto_attr_alg2()
773 int crypto_attr_u32(struct rtattr *rta, u32 *num) in crypto_attr_u32()
Daead.c273 struct rtattr **tb, u32 type, in aead_geniv_alloc()
398 struct rtattr *tb[3]; in crypto_nivaead_default()
400 struct rtattr attr; in crypto_nivaead_default()
404 struct rtattr attr; in crypto_nivaead_default()
Dcryptd.c171 static inline void cryptd_check_internal(struct rtattr **tb, u32 *type, in cryptd_check_internal()
332 struct rtattr **tb, in cryptd_create_blkcipher()
593 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
743 struct rtattr **tb, in cryptd_create_aead()
803 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
Dccm.c475 static struct crypto_instance *crypto_ccm_alloc_common(struct rtattr **tb, in crypto_ccm_alloc_common()
573 static struct crypto_instance *crypto_ccm_alloc(struct rtattr **tb) in crypto_ccm_alloc()
610 static struct crypto_instance *crypto_ccm_base_alloc(struct rtattr **tb) in crypto_ccm_base_alloc()
747 static struct crypto_instance *crypto_rfc4309_alloc(struct rtattr **tb) in crypto_rfc4309_alloc()
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()
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()
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()
Dauthenc.c58 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys()
596 static struct crypto_instance *crypto_authenc_alloc(struct rtattr **tb) in crypto_authenc_alloc()
Dgcm.c697 static struct crypto_instance *crypto_gcm_alloc_common(struct rtattr **tb, in crypto_gcm_alloc_common()
793 static struct crypto_instance *crypto_gcm_alloc(struct rtattr **tb) in crypto_gcm_alloc()
830 static struct crypto_instance *crypto_gcm_base_alloc(struct rtattr **tb) in crypto_gcm_base_alloc()
964 static struct crypto_instance *crypto_rfc4106_alloc(struct rtattr **tb) in crypto_rfc4106_alloc()
1279 static struct crypto_instance *crypto_rfc4543_alloc(struct rtattr **tb) in crypto_rfc4543_alloc()
Dpcrypt.c347 static struct crypto_instance *pcrypt_alloc_aead(struct rtattr **tb, in pcrypt_alloc_aead()
384 static struct crypto_instance *pcrypt_alloc(struct rtattr **tb) in pcrypt_alloc()
Deseqiv.c206 static struct crypto_instance *eseqiv_alloc(struct rtattr **tb) in eseqiv_alloc()
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.c287 static struct crypto_instance *chainiv_alloc(struct rtattr **tb) in chainiv_alloc()
Dcbc.c214 static struct crypto_instance *crypto_cbc_alloc(struct rtattr **tb) in crypto_cbc_alloc()
Dpcbc.c224 static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) in crypto_pcbc_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()
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()
Dshash.c700 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in shash_attr_alg()
Dblkcipher.c581 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()
Dauthencesn.c688 static struct crypto_instance *crypto_authenc_esn_alloc(struct rtattr **tb) in crypto_authenc_esn_alloc()
/linux-4.1.27/include/crypto/internal/
Daead.h20 struct rtattr;
59 struct rtattr **tb, u32 type,
Dskcipher.h20 struct rtattr;
63 struct rtattr **tb, u32 type,
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);
/linux-4.1.27/arch/x86/crypto/
Dfpu.c102 static struct crypto_instance *crypto_fpu_alloc(struct rtattr **tb) in crypto_fpu_alloc()
/linux-4.1.27/net/ipv6/
Desp6.c491 struct rtattr *rta; in esp_init_authenc()
/linux-4.1.27/net/ipv4/
Desp4.c549 struct rtattr *rta; in esp_init_authenc()