summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2016-03-31 10:32:12 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-31 22:24:21 +0200
commitfcdbb3d5c2759b255b1e059a19c7841586781bf9 (patch)
treecc61eb522cb36c308d9cfe994449b2b61891b291 /examples
parenta061e50a0d979e414f239c32cad1fc4de065e9b8 (diff)
downloaddpdk-fcdbb3d5c2759b255b1e059a19c7841586781bf9.zip
dpdk-fcdbb3d5c2759b255b1e059a19c7841586781bf9.tar.gz
dpdk-fcdbb3d5c2759b255b1e059a19c7841586781bf9.tar.xz
examples/l2fwd-crypto: clarify key parsing in help
Cipher/Auth keys, AAD and IV must be passed from command line with ":" between bytes, but help was not clarifying that. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/l2fwd-crypto/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index c561270..6a28448 100644
--- a/examples/l2fwd-crypto/main.c
+++ b/examples/l2fwd-crypto/main.c
@@ -804,16 +804,16 @@ l2fwd_crypto_usage(const char *prgname)
" --cipher_algo ALGO\n"
" --cipher_op ENCRYPT / DECRYPT\n"
- " --cipher_key KEY\n"
+ " --cipher_key KEY (bytes separated with \":\")\n"
" --cipher_key_random_size SIZE: size of cipher key when generated randomly\n"
- " --iv IV\n"
+ " --iv IV (bytes separated with \":\")\n"
" --iv_random_size SIZE: size of IV when generated randomly\n"
" --auth_algo ALGO\n"
" --auth_op GENERATE / VERIFY\n"
- " --auth_key KEY\n"
+ " --auth_key KEY (bytes separated with \":\")\n"
" --auth_key_random_size SIZE: size of auth key when generated randomly\n"
- " --aad AAD\n"
+ " --aad AAD (bytes separated with \":\")\n"
" --aad_random_size SIZE: size of AAD when generated randomly\n"
" --digest_size SIZE: size of digest to be generated/verified\n"