X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman1%2Fopenssl-fipsinstall.pod.in;h=7675e5e397a4a73f0c92a7a2d42159818f4555bb;hp=1d1cdea71559afab7defd42b0cc05142b4a82bb6;hb=d03b3158c532bcb3fcde83c66ee9b4858d42621c;hpb=eaf8ec1a03c5a034f43208d055b72d771ad134c3 diff --git a/doc/man1/openssl-fipsinstall.pod.in b/doc/man1/openssl-fipsinstall.pod.in index 1d1cdea715..7675e5e397 100644 --- a/doc/man1/openssl-fipsinstall.pod.in +++ b/doc/man1/openssl-fipsinstall.pod.in @@ -25,20 +25,26 @@ B =head1 DESCRIPTION This command is used to generate a FIPS module configuration file. +This configuration file can be used each time a FIPS module is loaded +in order to pass data to the FIPS module self tests. The FIPS module always +verifies its MAC, but only needs to run the KAT's once, +at installation. + The generated configuration file consists of: =over 4 -=item - A mac of the FIPS module file. +=item - A MAC of the FIPS module file. + +=item - A test status indicator. -=item - A status indicator that indicates if the known answer Self Tests (KAT's) -have successfully run. +This indicates if the Known Answer Self Tests (KAT's) have successfully run. + +=item - A MAC of the status indicator. =back -This configuration file can be used each time a FIPS module is loaded -in order to pass data to the FIPS modules self tests. The FIPS module always -verifies the modules MAC, but only needs to run the KATS once during install. +This file is described in L. =head1 OPTIONS @@ -50,32 +56,36 @@ Print a usage message. =item B<-module> I -Filename of a fips module to perform an integrity check on. +Filename of the FIPS module to perform an integrity check on. =item B<-out> I -Filename to output the configuration data to, or standard output by default. +Filename to output the configuration data to; the default is standard output. =item B<-in> I -Input filename to load configuration data from. Used with the '-verify' option. -Standard input is used if the filename is '-'. +Input filename to load configuration data from. Used with the B<-verify> option. +Standard input is used if the filename is C<->. =item B<-verify> -Verify that the input configuration file contains the correct information +Verify that the input configuration file contains the correct information. =item B<-provider_name> I Name of the provider inside the configuration file. +This must be specified. =item B<-section_name> I Name of the section inside the configuration file. +This must be specified. =item B<-mac_name> I Specifies the name of a supported MAC algorithm which will be used. +The MAC mechanisms that are available will depend on the options +used when building OpenSSL. To see the list of supported MAC's use the command C. The default is B. @@ -122,10 +132,10 @@ Do not output pass/fail messages. Implies B<-noout>. =item B<-corrupt_desc> I, B<-corrupt_type> I -The corrupt options can be used to test failure of one or more self test(s) by +The corrupt options can be used to test failure of one or more self tests by name. -Either option or both may be used to select the self test(s) to corrupt. -Refer to the entries for "st-desc" and "st-type" in L for +Either option or both may be used to select the tests to corrupt. +Refer to the entries for B and B in L for values that can be used. =back @@ -145,18 +155,12 @@ Verify that the configuration file F contains the correct info: -section_name fips_install -mac_name HMAC -macopt digest:SHA256 \ -macopt hexkey:000102030405060708090A0B0C0D0E0F10111213 -verify -Corrupt any self tests which have the description 'SHA1': +Corrupt any self tests which have the description C: openssl fipsinstall -module ./fips.so -out fips.cnf -provider_name fips \ -section_name fipsinstall -mac_name HMAC -macopt digest:SHA256 \ -macopt hexkey:000102030405060708090A0B0C0D0E0F10111213 \ - -corrupt_desc', 'SHA1' - -=head1 NOTES - -The MAC mechanisms that are available will depend on the options -used when building OpenSSL. -The command C command can be used to list them. + -corrupt_desc 'SHA1' =head1 SEE ALSO