Lines Matching defs:parity
463 * Add the parity to the 56-bit key converting it to 64-bit key.
595 * Set the parity bit for an integer.
598 * to add the parity bit for.
599 * @return integer with the parity bit set.
601 private static int setOddParity(final int parity)
603 final boolean hasEvenBits = (parity >>> 7 ^ parity >>> 6
604 ^ parity >>> 5 ^ parity >>> 4
605 ^ parity >>> 3 ^ parity >>> 2
606 ^ ((parity >>> 1) & 0x01)) == 0;
609 return parity | 0x01;
613 return parity & 0xFE;