Lines Matching defs:bug
541 unsigned int bug, i, j;
545 * There was a sign extension bug in older revisions of this function. While
546 * we would have liked to simply fix the bug and move on, we have to provide
547 * a backwards compatibility feature (essentially the bug) for some systems and
552 * While the bug itself affected the majority of passwords containing
565 * length remains. It is not part of the bug aftermath, though, and is
569 * For actual implementation, we set an array index in the variable "bug"
570 * (0 means no bug, 1 means sign extension bug emulation) and a flag in the
574 * Prefix "$2a$": bug = 0, safety = 0x10000
575 * Prefix "$2b$": bug = 0, safety = 0
576 * Prefix "$2x$": bug = 1, safety = 0
577 * Prefix "$2y$": bug = 0, safety = 0
579 bug = (unsigned int)flags & 1;
590 tmp[1] |= (BF_word_signed)(signed char)*ptr; /* bug */
606 expanded[i] = tmp[bug];
607 initial[i] = BF_init_state.P[i] ^ tmp[bug];
763 /* This has to be bug-compatible with the original implementation, so
791 * when there's something like gcc bug 26587 again, whereas an application or