/linux-4.4.14/include/crypto/ |
D | algapi.h | 23 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/ |
D | rtnetlink.h | 156 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))))
|
D | if_addr.h | 65 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
D | if_link.h | 160 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
|
/linux-4.4.14/crypto/ |
D | algboss.c | 29 struct rtattr *tb[CRYPTO_MAX_ATTRS + 2]; 32 struct rtattr attr; 37 struct rtattr attr; 39 struct rtattr attr; 43 struct rtattr attr;
|
D | algapi.c | 732 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()
|
D | seqiv.c | 254 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()
|
D | authenc.c | 54 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys() 381 struct rtattr **tb) in crypto_authenc_create()
|
D | cryptd.c | 171 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()
|
D | ccm.c | 505 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()
|
D | mcryptd.c | 261 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()
|
D | pcrypt.c | 273 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()
|
D | chacha20poly1305.c | 569 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 | ablkcipher.c | 533 struct rtattr *tb[3]; in crypto_givcipher_default() 535 struct rtattr attr; in crypto_givcipher_default() 539 struct rtattr attr; in crypto_givcipher_default()
|
D | gcm.c | 620 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()
|
D | ecb.c | 118 static struct crypto_instance *crypto_ecb_alloc(struct rtattr **tb) in crypto_ecb_alloc()
|
D | ctr.c | 181 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()
|
D | eseqiv.c | 192 static struct crypto_instance *eseqiv_alloc(struct rtattr **tb) in eseqiv_alloc()
|
D | echainiv.c | 179 struct rtattr **tb) in echainiv_aead_create()
|
D | xcbc.c | 199 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in xcbc_create()
|
D | cmac.c | 225 static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cmac_create()
|
D | hmac.c | 181 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) in hmac_create()
|
D | chainiv.c | 262 static struct crypto_instance *chainiv_alloc(struct rtattr **tb) in chainiv_alloc()
|
D | keywrap.c | 343 static struct crypto_instance *crypto_kw_alloc(struct rtattr **tb) in crypto_kw_alloc()
|
D | pcbc.c | 224 static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) in crypto_pcbc_alloc()
|
D | cbc.c | 214 static struct crypto_instance *crypto_cbc_alloc(struct rtattr **tb) in crypto_cbc_alloc()
|
D | xts.c | 287 static struct crypto_instance *alloc(struct rtattr **tb) in alloc()
|
D | cts.c | 274 static struct crypto_instance *crypto_cts_alloc(struct rtattr **tb) in crypto_cts_alloc()
|
D | aead.c | 192 struct rtattr **tb, u32 type, u32 mask) in aead_geniv_alloc()
|
D | lrw.c | 326 static struct crypto_instance *alloc(struct rtattr **tb) in alloc()
|
D | ahash.c | 610 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in ahash_attr_alg()
|
D | authencesn.c | 397 struct rtattr **tb) in crypto_authenc_esn_create()
|
D | shash.c | 695 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in shash_attr_alg()
|
D | blkcipher.c | 582 struct rtattr **tb, u32 type, in skcipher_geniv_alloc()
|
D | vmac.c | 643 static int vmac_create(struct crypto_template *tmpl, struct rtattr **tb) in vmac_create()
|
/linux-4.4.14/include/crypto/internal/ |
D | skcipher.h | 20 struct rtattr; 63 struct rtattr **tb, u32 type,
|
D | geniv.h | 28 struct rtattr **tb, u32 type, u32 mask);
|
D | hash.h | 95 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);
|
D | aead.h | 21 struct rtattr;
|
/linux-4.4.14/arch/x86/crypto/ |
D | fpu.c | 102 static struct crypto_instance *crypto_fpu_alloc(struct rtattr **tb) in crypto_fpu_alloc()
|
/linux-4.4.14/net/ipv6/ |
D | esp6.c | 530 struct rtattr *rta; in esp_init_authenc()
|
/linux-4.4.14/net/ipv4/ |
D | esp4.c | 588 struct rtattr *rta; in esp_init_authenc()
|