/[mcrypt]/shash/src/shash.gaa
ViewVC logotype

Diff of /shash/src/shash.gaa

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by nmav, Wed Oct 4 22:45:23 2000 UTC revision 1.3 by nmav, Sat Aug 31 14:11:33 2002 UTC
# Line 1  Line 1 
1  helpnode "Usage : shash [options] file1 file2 ...\n"  helpnode "Usage : shash [options] file1 file2 ...\n"
2    
3  #int quiet;  #int quiet;
4  option (v, verbose) { $quiet = 0 } "some more information is displayed."  option (V, verbose) { $quiet = 0 } "some more information is displayed."
5  option (q, quiet) { $quiet = 2 } "suppress some non critical warnings."  option (q, quiet) { $quiet = 2 } "suppress some non critical warnings."
6    
7  #int nosalt;  #int nosalt;
8  option (nosalt) { $nosalt = 1 } "Do not use salt."  option (nosalt) { $nosalt = 1 } "Do not use salt."
9    
10    #int show_time;
11    option (time) { $show_time = 1 } "Show time elapsed."
12    
13  #int hmac;  #int hmac;
14  option (m, hmac) { $hmac = 1 } "Use password to hash (hmac)."  option (m, hmac) { $hmac = 1 } "Use password to hash (hmac)."
15    
# Line 34  option (i, config) STR "config" { $confi Line 37  option (i, config) STR "config" { $confi
37  option (a, algorithm) STR "algorithm" { $algorithm = $1 } "specify the algorithm. "  option (a, algorithm) STR "algorithm" { $algorithm = $1 } "specify the algorithm. "
38                                                             "Use the --list parameter to show the supported algorithms."                                                             "Use the --list parameter to show the supported algorithms."
39    
 #int nolock;  
 option (n, nolock) { $nolock = 1 } "Do not lock files."  
   
40  option (l, list) { hash_list(); } "Prints a list of the algorithms supported."  option (l, list) { hash_list(); } "Prints a list of the algorithms supported."
41    
42  #char *keys;  #char *keys;
# Line 45  option (k, key) STR "key" { $keys = $1; Line 45  option (k, key) STR "key" { $keys = $1;
45    
46  option (listkeygen) { list_keygen_algorithms(); exit(0); } "Prints a list of the key generation algorithms supported."  option (listkeygen) { list_keygen_algorithms(); exit(0); } "Prints a list of the key generation algorithms supported."
47  option (h, help) { gaa_help(); exit(0); } "prints this help"  option (h, help) { gaa_help(); exit(0); } "prints this help"
48  option (V, version) { hash_version(); exit(0); } "prints the version number"  option (v, version) { hash_version(); exit(0); } "prints the version number"
49  option (L, license) { hash_license(); exit(0); } "displays license information."  option (L, license) { hash_license(); exit(0); } "displays license information."
50    
51  #int size;  #int size;
# Line 54  rest optional *STR "file1 file2...fileN" Line 54  rest optional *STR "file1 file2...fileN"
54    
55  init { $quiet=1; $config=0; $kmode = NULL; $hmac = 0;  init { $quiet=1; $config=0; $kmode = NULL; $hmac = 0;
56         $algorithm=NULL; $keys=NULL; $config_file=NULL; $input=NULL;         $algorithm=NULL; $keys=NULL; $config_file=NULL; $input=NULL;
57         $double_check=0; $nolock=0; $nosalt=0; $check=0; $text=0;         $double_check=0; $nosalt=0; $check=0; $text=0;
58         $binary=0; }         $binary=0; $show_time=0; }
59    
60  INCOMP bt  INCOMP bt

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26