MCPcopy Create free account
hub / github.com/F-Stack/f-stack / display_aead_info

Function display_aead_info

dpdk/examples/l2fwd-crypto/main.c:1558–1569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1556}
1557
1558static void
1559display_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
1571static void
1572l2fwd_crypto_options_print(struct l2fwd_crypto_options *options)

Callers 1

Calls 3

rte_hexdumpFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected