Lines Matching defs:in
74 * Key Length (in bytes)
98 * The key length in bits.
100 * {@internal Should be in range [1..1024].}
111 * The key length in bits.
113 * {@internal Should be in range [1..1024].}
131 * Twice the same 256-value sequence to save a modulus in key expansion.
255 throw new BadModeException('Block ciphers cannot be ran in stream mode');
277 // in theory openssl_get_cipher_methods() should catch this but, on GitHub Actions, at least, it does not
295 * @param int $length in bits
323 * has more then 128 bytes in it, and set $key to a single null byte if
328 * @param int|boolean $t1 optional Effective key length in bits.
352 // lengths in range 1..1024 by expanding the key and applying
431 * @param string $in
434 protected function encryptBlock($in)
436 list($r0, $r1, $r2, $r3) = array_values(unpack('v*', $in));
475 * @param string $in
478 protected function decryptBlock($in)
480 list($r0, $r1, $r2, $r3) = array_values(unpack('v*', $in));
525 // Key has already been expanded in \phpseclib3\Crypt\RC2::setKey():
546 // $in is the current 8 bytes block which has to be en/decrypt
548 $in = unpack("v4", $in);
549 $r0 = $in[1];
550 $r1 = $in[2];
551 $r2 = $in[3];
552 $r3 = $in[4];
591 $encrypt_block .= '$in = pack("v4", $r0, $r1, $r2, $r3);';
629 $decrypt_block .= '$in = pack("v4", $r0, $r1, $r2, $r3);';