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

Function display_cipher_info

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

Source from the content-addressed store, hash-verified

1532}
1533
1534static void
1535display_cipher_info(struct l2fwd_crypto_options *options)
1536{
1537 printf("\n---- Cipher information ---\n");
1538 printf("Algorithm: %s\n",
1539 rte_cryptodev_get_cipher_algo_string(options->cipher_xform.cipher.algo));
1540 rte_hexdump(stdout, "Cipher key:",
1541 options->cipher_xform.cipher.key.data,
1542 options->cipher_xform.cipher.key.length);
1543 rte_hexdump(stdout, "IV:", options->cipher_iv.data, options->cipher_iv.length);
1544}
1545
1546static void
1547display_auth_info(struct l2fwd_crypto_options *options)

Callers 1

Calls 3

rte_hexdumpFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected