diff options
author | Thorsten Glaser <tg@mirbsd.de> | 2009-05-22 16:28:05 +0000 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2014-12-30 17:00:23 +0100 |
commit | cdf42d7b4354c198d263ba6476daad3c110d2693 (patch) | |
tree | e7d7a32290da77ab83b506b90803894f638f7c07 | |
parent | 7858d304bcfaf4e3af8fd0aec8fc3fe2a8227171 (diff) |
Document openssl dgst -hmac option
Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r-- | apps/dgst.c | 2 | ||||
-rw-r--r-- | doc/apps/dgst.pod | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index f4aec779c1..e31a6b182e 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -273,6 +273,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 2414c53377..9e15798d82 100644 --- a/doc/apps/dgst.pod +++ b/doc/apps/dgst.pod @@ -13,6 +13,8 @@ B<openssl> B<dgst> [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<sha1sum>. +=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. |