Home | History | Annotate | Download | only in pwhash

Lines Matching defs:operation

100 print_passwd(char *string, int operation, const char *extra)
107 switch(operation) {
169 int operation = -1;
176 operation = DO_MAKEKEY;
185 if (operation != -1 || prompt)
187 operation = DO_MAKEKEY;
191 if (operation != -1)
193 operation = DO_MD5;
198 if (operation == DO_MAKEKEY)
204 if (operation != -1)
206 operation = DO_SHA1;
211 if (operation != -1 || optarg[0] == '$')
213 operation = DO_DES;
218 if (operation != -1)
220 operation = DO_BLF;
226 if (operation != -1)
228 operation = DO_ARGON2;
238 if (((argc - optind) < 1) || operation == DO_MAKEKEY) {
243 print_passwd(string, operation, extra);
254 print_passwd(string, operation, extra);
256 if (operation == DO_MAKEKEY) {
276 print_passwd(string, operation, extra);