Lines Matching refs:usage

36 sub usage {  subroutine
98 usage("Missing or invalid command specification for option -c256: $opt\n");
105 usage("Missing or invalid command specification for option -c384: $opt\n");
112 usage("Missing or invalid command specification for option -c512: $opt\n");
119 usage("Missing or invalid command specification for option -cALL: $opt\n");
122 usage("Unknown/invalid option '$opt'\n");
125 usage("Invalid, nonexistent, or unreadable file '$opt': $!\n") if (!-f $opt);
133 usage("Required ./sha2 binary executable not found.\n") if (!-x "./sha2");
138 usage("No command was supplied to generate SHA-256 hashes.\n") if ($hashes & 1 == 1 && !$cALL && !$…
139 usage("No command was supplied to generate SHA-384 hashes.\n") if ($hashes & 2 == 2 && !$cALL && !$…
140 usage("No command was supplied to generate SHA-512 hashes.\n") if ($hashes & 4 == 4 && !$cALL && !$…
144 …opendir(DIR, "testvectors") || usage("Unable to scan directory 'testvectors' for vector informatio…
161 usage("Unable to open test vector information file '$file' for reading: $!\n");
190 usage("Invalid SHA-256/384/512 test vector information " .
198 usage("Invalid SHA-256/384/512 test vector information file " .
214 usage("Invalid SHA-256/384/512 test vector information file " .
220 usage("Invalid SHA-256/384/512 test vector information file " .
224 usage("Invalid SHA-256/384/512 test vector information file " .
228 usage("The test vector data file (field FILE) name " .
233 usage("Invalid SHA-256/384/512 test vector information file " .
238 usage("Invalid SHA-256/384/512 test vector information file " .
242 usage("Invalid SHA-256/384/512 test vector information file " .
246 usage("Invalid SHA-256/384/512 test vector information file " .
255 usage("There were no test vectors for the specified hash(es) in any of the test vector information …
291usage("Unable to generate any hashes for file '$vec->{file}'!\n") if (!$sha256 && !$sha384 && $sha…