| 98 | } |
| 99 | |
| 100 | static inline int |
| 101 | verify_crypto_capabilities(const struct rte_cryptodev_capabilities *capabilities, |
| 102 | struct rte_crypto_sym_xform *crypto_xform) |
| 103 | { |
| 104 | if (crypto_xform->next != NULL) |
| 105 | return (verify_crypto_xform(capabilities, crypto_xform) || |
| 106 | verify_crypto_xform(capabilities, crypto_xform->next)); |
| 107 | else |
| 108 | return verify_crypto_xform(capabilities, crypto_xform); |
| 109 | } |
| 110 | |
| 111 | static inline int |
| 112 | verify_ipsec_capabilities(struct rte_security_ipsec_xform *ipsec_xform, |
no test coverage detected