| 604 | } |
| 605 | |
| 606 | static int handle_crypto_model(const char *val, const char **error_string) |
| 607 | { |
| 608 | |
| 609 | if (util_is_valid_knet_crypto_model(val, NULL, 0, |
| 610 | "Invalid crypto model. Should be ", error_string) == 1) { |
| 611 | return (0); |
| 612 | } else { |
| 613 | return (-1); |
| 614 | } |
| 615 | } |
| 616 | |
| 617 | static int handle_compress_model(const char *val, const char **error_string) |
| 618 | { |
no test coverage detected