| 1556 | } |
| 1557 | |
| 1558 | static void |
| 1559 | display_aead_info(struct l2fwd_crypto_options *options) |
| 1560 | { |
| 1561 | printf("\n---- AEAD information ---\n"); |
| 1562 | printf("Algorithm: %s\n", |
| 1563 | rte_cryptodev_get_aead_algo_string(options->aead_xform.aead.algo)); |
| 1564 | rte_hexdump(stdout, "AEAD key:", |
| 1565 | options->aead_xform.aead.key.data, |
| 1566 | options->aead_xform.aead.key.length); |
| 1567 | rte_hexdump(stdout, "IV:", options->aead_iv.data, options->aead_iv.length); |
| 1568 | rte_hexdump(stdout, "AAD:", options->aad.data, options->aad.length); |
| 1569 | } |
| 1570 | |
| 1571 | static void |
| 1572 | l2fwd_crypto_options_print(struct l2fwd_crypto_options *options) |
no test coverage detected