Provide information about "openssl dgst" -hmac option.
authorLutz Jänicke <jaenicke@openssl.org>
Mon, 19 May 2008 07:43:34 +0000 (07:43 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Mon, 19 May 2008 07:43:34 +0000 (07:43 +0000)
apps/dgst.c
doc/apps/dgst.pod

index 7bfac2f64436b970026be5e2ad72fe8587ae6bf7..b22b008c76ac1cd81b9897374b0d06edade64ffb 100644 (file)
@@ -252,6 +252,7 @@ int MAIN(int argc, char **argv)
                BIO_printf(bio_err,"-signature file signature to verify\n");
                BIO_printf(bio_err,"-sigopt nm:v    signature parameter\n");
                BIO_printf(bio_err,"-binary         output in binary form\n");
+               BIO_printf(bio_err,"-hmac key       create hashed MAC with key\n");
 #ifndef OPENSSL_NO_ENGINE
                BIO_printf(bio_err,"-engine e       use engine e, possibly a hardware device.\n");
 #endif
index b0d198724c6b28770e0ea5656421939de522c1da..908cd2a6d657db9906ef6af19817eb6dc91ff3d7 100644 (file)
@@ -18,6 +18,7 @@ B<openssl> B<dgst>
 [B<-verify filename>]
 [B<-prverify filename>]
 [B<-signature filename>]
+[B<-hmac key>]
 [B<file...>]
 
 [B<md5|md4|md2|sha1|sha|mdc2|ripemd160>]
@@ -78,6 +79,10 @@ verify the signature using the  the private key in "filename".
 
 the actual signature to verify.
 
+=item B<-hmac key>
+
+create a hashed MAC using "key".
+
 =item B<-rand file(s)>
 
 a file or files containing random data used to seed the random number