From 5075e52e6f055f0dfce5be153e6a4def9e5d8057 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Fri, 22 May 2009 16:28:05 +0000 Subject: [PATCH] Document openssl dgst -hmac option Signed-off-by: Kurt Roeckx Reviewed-by: Richard Levitte --- apps/dgst.c | 2 ++ doc/apps/dgst.pod | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/apps/dgst.c b/apps/dgst.c index 19c9424be2..9f6954f265 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -276,6 +276,8 @@ int MAIN(int argc, char **argv) BIO_printf(bio_err,"-d to output debug info\n"); BIO_printf(bio_err,"-hex output as hex dump\n"); BIO_printf(bio_err,"-binary output in binary form\n"); + BIO_printf(bio_err,"-hmac arg set the HMAC key to arg\n"); + BIO_printf(bio_err,"-non-fips-allow allow use of non FIPS digest\n"); BIO_printf(bio_err,"-sign file sign digest using private key in file\n"); BIO_printf(bio_err,"-verify file verify a signature using public key in file\n"); BIO_printf(bio_err,"-prverify file verify a signature using private key in file\n"); diff --git a/doc/apps/dgst.pod b/doc/apps/dgst.pod index d8530abd0e..8f974ed656 100644 --- a/doc/apps/dgst.pod +++ b/doc/apps/dgst.pod @@ -13,6 +13,8 @@ B B [B<-hex>] [B<-binary>] [B<-r>] +[B<-hmac arg>] +[B<-non-fips-allow>] [B<-out filename>] [B<-sign filename>] [B<-keyform arg>] @@ -62,6 +64,15 @@ output the digest or signature in binary form. output the digest in the "coreutils" format used by programs like B. +=item B<-hmac arg> + +set the HMAC key to "arg". + +=item B<-non-fips-allow> + +Allow use of non FIPS digest when in FIPS mode. This has no effect when not in +FIPS mode. + =item B<-out filename> filename to output to, or standard output by default. -- 2.25.1