1FIPSHMAC(8)                        fipshmac                        FIPSHMAC(8)
2
3
4

NAME

6       fipshmac - create FIPS-140-2 validation checksum files
7

SYNTAX

9       fipshmac [-d <directory>] file1 [file2 ...]
10

DESCRIPTION

12       fipshmac will create FIPS-140-2 checksum files for all the filenames
13       specified. If the -d option is not specified, checksum files will be
14       written in the same directory as the file being checksummed. It will
15       prepend a '.' and append '.hmac' to the original file name. When a
16       directory is specified with the -d option, the '.' will not be
17       prepended and the files are stored into the directory.
18
19       If invoked correctly the fipshmac command will not print anything to
20       the standard output or error. Otherwise it will print an error message
21       to stderr.
22
23       The -s option allows to specify the suffix of the hmac file names. The
24       default value .hmac is used when this option is not specified.
25

RETURN CODES

27       fipscheck can return the following return codes:
28
29       0 OK
30
31       2 Missing filename
32
33       3 Cannot open the checksum file for writing
34
35       4 Cannot read the file to be checksummed, or the checksum computation
36       failed
37
38       5 Memory allocation error
39
40       6,7 Cannot write to the checksum file
41

SEE ALSO

43       fipscheck(8), fipscheck.h(3), https://fedorahosted.org/fipscheck/
44

AUTHOR

46       Tomas Mraz <tmraz@redhat.com>.
47
48       Man page by Paul Wouters <pwouters@redhat.com>
49
51       Copyright 2008, 2012 Red Hat, Inc. All rights reserved.
52
53       Redistribution and use in source and binary forms, with or without
54       modification, are permitted provided that the following conditions are
55       met:
56
57       1. Redistributions of source code must retain the above copyright
58       notice, this list of conditions and the following disclaimer.
59
60       2. Redistributions in binary form must reproduce the above copyright
61       notice, this list of conditions and the following disclaimer in the
62       documentation and/or other materials provided with the distribution.
63
64
65
66fipscheck                       April 11, 2012                     FIPSHMAC(8)
Impressum