| 274 | } |
| 275 | |
| 276 | static const struct supported_auth_algo * |
| 277 | find_match_auth_algo(const char *auth_keyword) |
| 278 | { |
| 279 | size_t i; |
| 280 | |
| 281 | for (i = 0; i < RTE_DIM(auth_algos); i++) { |
| 282 | const struct supported_auth_algo *algo = |
| 283 | &auth_algos[i]; |
| 284 | |
| 285 | if (strcmp(auth_keyword, algo->keyword) == 0) |
| 286 | return algo; |
| 287 | } |
| 288 | |
| 289 | return NULL; |
| 290 | } |
| 291 | |
| 292 | static const struct supported_aead_algo * |
| 293 | find_match_aead_algo(const char *aead_keyword) |
no test coverage detected