Lines Matching refs:stat2
9 int hash_idx, prng_idx, stat, stat2, size;
72 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key));
82 if (!(stat == 1 && stat2 == 0)) {
117 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key));
127 if (!(stat == 1 && stat2 == 0)) {
155 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &key));
157 if (!(stat == 1 && stat2 == 0)) {
158 fprintf(stderr, "katja_verify_hash (unsalted, origKey) failed, %d, %d", stat, stat2);
171 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &privKey));
173 if (!(stat == 1 && stat2 == 0)) {
174 fprintf(stderr, "katja_verify_hash (unsalted, privKey) failed, %d, %d", stat, stat2);
187 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &pubKey));
189 if (!(stat == 1 && stat2 == 0)) {
190 fprintf(stderr, "katja_verify_hash (unsalted, pubkey) failed, %d, %d", stat, stat2);
203 DO(katja_verify_hash(out, len, in, 20, hash_idx, 8, &stat2, &pubKey));
205 if (!(stat == 1 && stat2 == 0)) {
206 fprintf(stderr, "katja_verify_hash (salted) failed, %d, %d", stat, stat2);