examples/l2fwd-crypto: clarify key parsing in help
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 31 Mar 2016 09:32:12 +0000 (10:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 20:24:21 +0000 (22:24 +0200)
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>
examples/l2fwd-crypto/main.c

index c561270..6a28448 100644 (file)
@@ -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"