| /Linux-v5.4/include/crypto/ |
| D | algapi.h | 28 struct rtattr; 60 struct crypto_instance *(*alloc)(struct rtattr **tb); 62 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); 169 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb); 170 int crypto_check_attr_type(struct rtattr **tb, u32 type); 171 const char *crypto_attr_alg_name(struct rtattr *rta); 172 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, 176 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, in crypto_attr_alg() 182 int crypto_attr_u32(struct rtattr *rta, u32 *num); 373 static inline struct crypto_alg *crypto_get_attr_alg(struct rtattr **tb, in crypto_get_attr_alg()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | rtnetlink.h | 181 struct rtattr { struct 190 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument 191 (rta)->rta_len >= sizeof(struct rtattr) && \ 194 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 195 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 358 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 397 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 601 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 740 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
|
| D | if_addr.h | 68 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
| /Linux-v5.4/crypto/ |
| D | algboss.c | 24 struct rtattr *tb[CRYPTO_MAX_ATTRS + 2]; 27 struct rtattr attr; 32 struct rtattr attr; 34 struct rtattr attr; 38 struct rtattr attr;
|
| D | seqiv.c | 138 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create() 173 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
|
| D | cbc.c | 51 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
|
| D | ecb.c | 61 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create()
|
| D | ofb.c | 52 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
|
| D | algapi.c | 761 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb) in crypto_get_attr_type() 763 struct rtattr *rta = tb[0]; in crypto_get_attr_type() 779 int crypto_check_attr_type(struct rtattr **tb, u32 type) in crypto_check_attr_type() 794 const char *crypto_attr_alg_name(struct rtattr *rta) in crypto_attr_alg_name() 812 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, in crypto_attr_alg2() 826 int crypto_attr_u32(struct rtattr *rta, u32 *num) in crypto_attr_u32()
|
| D | authenc.c | 49 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys() 383 struct rtattr **tb) in crypto_authenc_create()
|
| D | ccm.c | 455 struct rtattr **tb, in crypto_ccm_create_common() 564 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create() 586 struct rtattr **tb) in crypto_ccm_base_create() 745 struct rtattr **tb) in crypto_rfc4309_create() 917 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
|
| D | pcrypt.c | 214 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead() 279 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
|
| D | cryptd.c | 194 static inline void cryptd_check_internal(struct rtattr **tb, u32 *type, in cryptd_check_internal() 397 struct rtattr **tb, in cryptd_create_skcipher() 669 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash() 853 struct rtattr **tb, in cryptd_create_aead() 913 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
|
| D | ctr.c | 126 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ctr_create() 263 struct rtattr **tb) in crypto_rfc3686_create()
|
| D | echainiv.c | 113 struct rtattr **tb) in echainiv_aead_create()
|
| D | keywrap.c | 263 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
|
| D | chacha20poly1305.c | 562 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()
|
| D | gcm.c | 583 struct rtattr **tb, in crypto_gcm_create_common() 692 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create() 709 struct rtattr **tb) in crypto_gcm_base_create() 867 struct rtattr **tb) in crypto_rfc4106_create() 1103 struct rtattr **tb) in crypto_rfc4543_create()
|
| D | pcbc.c | 153 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
|
| D | cfb.c | 200 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
|
| /Linux-v5.4/include/crypto/internal/ |
| D | geniv.h | 23 struct rtattr **tb, u32 type, u32 mask);
|
| D | hash.h | 99 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask); 118 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
|
| D | skcipher.h | 17 struct rtattr; 280 skcipher_alloc_instance_simple(struct crypto_template *tmpl, struct rtattr **tb,
|
| D | aead.h | 16 struct rtattr;
|
| /Linux-v5.4/samples/bpf/ |
| D | xdp_router_ipv4_user.c | 126 struct rtattr *rt_attr; in read_route() 165 rt_attr = (struct rtattr *)RTM_RTA(rt_msg); in read_route() 379 struct rtattr *rt_attr; in read_arp() 399 rt_attr = (struct rtattr *)RTM_RTA(rt_msg); in read_arp()
|