293: printf("Decrypt FAILED! cbDecrypted < 0.\n"); -меняем на- 293: printf("Decrypt FAILED! cbDecrypted %i.\n",cbDecrypted);