/linux-4.1.27/include/crypto/ |
D | algapi.h | 21 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/ |
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)) 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))))
|
D | if_addr.h | 65 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
D | if_link.h | 159 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
|
/linux-4.1.27/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 | seqiv.c | 261 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()
|
D | algapi.c | 708 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()
|
D | aead.c | 273 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()
|
D | cryptd.c | 171 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()
|
D | ccm.c | 475 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()
|
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 | 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 | 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 | authenc.c | 58 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()
|
D | gcm.c | 697 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()
|
D | pcrypt.c | 347 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()
|
D | eseqiv.c | 206 static struct crypto_instance *eseqiv_alloc(struct rtattr **tb) in eseqiv_alloc()
|
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 | 287 static struct crypto_instance *chainiv_alloc(struct rtattr **tb) in chainiv_alloc()
|
D | cbc.c | 214 static struct crypto_instance *crypto_cbc_alloc(struct rtattr **tb) in crypto_cbc_alloc()
|
D | pcbc.c | 224 static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) in crypto_pcbc_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 | 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 | shash.c | 700 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in shash_attr_alg()
|
D | blkcipher.c | 581 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()
|
D | authencesn.c | 688 static struct crypto_instance *crypto_authenc_esn_alloc(struct rtattr **tb) in crypto_authenc_esn_alloc()
|
/linux-4.1.27/include/crypto/internal/ |
D | aead.h | 20 struct rtattr; 59 struct rtattr **tb, u32 type,
|
D | skcipher.h | 20 struct rtattr; 63 struct rtattr **tb, u32 type,
|
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);
|
/linux-4.1.27/arch/x86/crypto/ |
D | fpu.c | 102 static struct crypto_instance *crypto_fpu_alloc(struct rtattr **tb) in crypto_fpu_alloc()
|
/linux-4.1.27/net/ipv6/ |
D | esp6.c | 491 struct rtattr *rta; in esp_init_authenc()
|
/linux-4.1.27/net/ipv4/ |
D | esp4.c | 549 struct rtattr *rta; in esp_init_authenc()
|