Home | History | Annotate | Download | only in testprof

Lines Matching refs:stat2

129    int           hash_idx, prng_idx, stat, stat2;
195 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key));
205 if (!(stat == 1 && stat2 == 0)) {
240 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key));
250 if (!(stat == 1 && stat2 == 0)) {
268 if (!(stat == 1 && stat2 == 0)) {
269 fprintf(stderr, "rsa_decrypt_key_ex failed, %d, %d", stat, stat2);
294 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &key));
296 if (!(stat == 1 && stat2 == 0)) {
297 fprintf(stderr, "rsa_verify_hash (unsalted, origKey) failed, %d, %d", stat, stat2);
310 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &privKey));
312 if (!(stat == 1 && stat2 == 0)) {
313 fprintf(stderr, "rsa_verify_hash (unsalted, privKey) failed, %d, %d", stat, stat2);
326 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &pubKey));
328 if (!(stat == 1 && stat2 == 0)) {
329 fprintf(stderr, "rsa_verify_hash (unsalted, pubkey) failed, %d, %d", stat, stat2);
342 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 8, &stat2, &pubKey));
344 if (!(stat == 1 && stat2 == 0)) {
345 fprintf(stderr, "rsa_verify_hash (salted) failed, %d, %d", stat, stat2);
358 DO(rsa_verify_hash_ex(out, len, in, 20, LTC_PKCS_1_V1_5, hash_idx, 8, &stat2, &pubKey));
360 if (!(stat == 1 && stat2 == 0)) {
361 fprintf(stderr, "rsa_verify_hash_ex failed, %d, %d", stat, stat2);