From: Lutz Jänicke Date: Mon, 19 May 2008 07:43:34 +0000 (+0000) Subject: Provide information about "openssl dgst" -hmac option. X-Git-Tag: OpenSSL_0_9_8k^2~402 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a92ebf229015380882d8a364ad95df00c81534e8;p=oweals%2Fopenssl.git Provide information about "openssl dgst" -hmac option. --- diff --git a/apps/dgst.c b/apps/dgst.c index 7bfac2f644..b22b008c76 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -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 diff --git a/doc/apps/dgst.pod b/doc/apps/dgst.pod index b0d198724c..908cd2a6d6 100644 --- a/doc/apps/dgst.pod +++ b/doc/apps/dgst.pod @@ -18,6 +18,7 @@ B B [B<-verify filename>] [B<-prverify filename>] [B<-signature filename>] +[B<-hmac key>] [B] [B] @@ -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