| 212 | } |
| 213 | |
| 214 | static inline int |
| 215 | common_range_set(struct rte_crypto_param_range *dst, const struct rte_crypto_param_range *src) |
| 216 | { |
| 217 | /* Check if ranges overlaps */ |
| 218 | if ((dst->min > src->max) && (dst->max < src->min)) |
| 219 | return -1; |
| 220 | dst->min = RTE_MAX(dst->min, src->min); |
| 221 | dst->max = RTE_MIN(dst->max, src->max); |
| 222 | |
| 223 | return 0; |
| 224 | } |
| 225 | |
| 226 | static uint16_t |
| 227 | nb_sym_capabilities_get(const struct rte_cryptodev_capabilities *cap) |
no outgoing calls
no test coverage detected