Lines Matching refs:rta
48 static void validate_attr(const struct rtattr *rta) in validate_attr() argument
50 switch (rta->rta_type) { in validate_attr()
52 const struct crypto_report_larval *p = RTA_DATA(rta); in validate_attr()
58 const struct crypto_report_hash *p = RTA_DATA(rta); in validate_attr()
64 const struct crypto_report_blkcipher *p = RTA_DATA(rta); in validate_attr()
71 const struct crypto_report_aead *p = RTA_DATA(rta); in validate_attr()
78 const struct crypto_report_comp *p = RTA_DATA(rta); in validate_attr()
84 const struct crypto_report_rng *p = RTA_DATA(rta); in validate_attr()
90 const struct crypto_report_cipher *p = RTA_DATA(rta); in validate_attr()
96 const struct crypto_report_akcipher *p = RTA_DATA(rta); in validate_attr()
102 const struct crypto_report_kpp *p = RTA_DATA(rta); in validate_attr()
108 const struct crypto_report_acomp *p = RTA_DATA(rta); in validate_attr()
119 const struct rtattr *rta = (void *)alg + NLMSG_ALIGN(sizeof(*alg)); in validate_one_alg() local
128 while (RTA_OK(rta, remaining)) { in validate_one_alg()
129 validate_attr(rta); in validate_one_alg()
130 rta = RTA_NEXT(rta, remaining); in validate_one_alg()