Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/crypto/
Dalgapi.h31 struct rtattr;
63 struct crypto_instance *(*alloc)(struct rtattr **tb);
65 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
170 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
171 int crypto_check_attr_type(struct rtattr **tb, u32 type);
172 const char *crypto_attr_alg_name(struct rtattr *rta);
173 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
177 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, in crypto_attr_alg()
183 int crypto_attr_u32(struct rtattr *rta, u32 *num);
383 static inline struct crypto_alg *crypto_get_attr_alg(struct rtattr **tb, in crypto_get_attr_alg()
/linux-4.19.296/include/uapi/linux/
Drtnetlink.h174 struct rtattr { struct
183 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
184 (rta)->rta_len >= sizeof(struct rtattr) && \
187 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
188 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
350 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
389 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
593 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
730 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
Dif_addr.h67 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
/linux-4.19.296/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.c144 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
179 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
Dalgapi.c733 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb) in crypto_get_attr_type()
735 struct rtattr *rta = tb[0]; in crypto_get_attr_type()
751 int crypto_check_attr_type(struct rtattr **tb, u32 type) in crypto_check_attr_type()
766 const char *crypto_attr_alg_name(struct rtattr *rta) in crypto_attr_alg_name()
784 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, in crypto_attr_alg2()
798 int crypto_attr_u32(struct rtattr *rta, u32 *num) in crypto_attr_u32()
Dauthenc.c54 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys()
388 struct rtattr **tb) in crypto_authenc_create()
Dccm.c457 struct rtattr **tb, in crypto_ccm_create_common()
566 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
594 struct rtattr **tb) in crypto_ccm_base_create()
759 struct rtattr **tb) in crypto_rfc4309_create()
937 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
Dmcryptd.c254 static inline bool mcryptd_check_internal(struct rtattr **tb, u32 *type, in mcryptd_check_internal()
485 static int mcryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in mcryptd_create_hash()
554 static int mcryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in mcryptd_create()
Dcryptd.c206 static inline void cryptd_check_internal(struct rtattr **tb, u32 *type, in cryptd_check_internal()
386 struct rtattr **tb, in cryptd_create_blkcipher()
593 struct rtattr **tb, in cryptd_create_skcipher()
868 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
1052 struct rtattr **tb, in cryptd_create_aead()
1112 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
Dechainiv.c118 struct rtattr **tb) in echainiv_aead_create()
Dpcrypt.c284 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
349 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
Decb.c118 static struct crypto_instance *crypto_ecb_alloc(struct rtattr **tb) in crypto_ecb_alloc()
Dcbc.c109 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
Dgcm.c599 struct rtattr **tb, in crypto_gcm_create_common()
708 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
731 struct rtattr **tb) in crypto_gcm_base_create()
893 struct rtattr **tb) in crypto_rfc4106_create()
1133 struct rtattr **tb) in crypto_rfc4543_create()
Dctr.c180 static struct crypto_instance *crypto_ctr_alloc(struct rtattr **tb) in crypto_ctr_alloc()
354 struct rtattr **tb) in crypto_rfc3686_create()
Dchacha20poly1305.c585 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
704 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
709 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
Dxcbc.c198 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
Dkeywrap.c311 static struct crypto_instance *crypto_kw_alloc(struct rtattr **tb) in crypto_kw_alloc()
Dhmac.c182 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
Dcmac.c227 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
/linux-4.19.296/include/crypto/internal/
Dgeniv.h28 struct rtattr **tb, u32 type, u32 mask);
Dhash.h98 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
117 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
Daead.h21 struct rtattr;
Dskcipher.h22 struct rtattr;

12