Lines Matching refs:block_size
72 * Mcrypt is useable for 128/192/256-bit $block_size/$key_length. For 160/224 not.
74 * or not for the current $block_size/$key_length.
103 * {@internal The max value is 256 / 32 = 8, the min value is 128 / 32 = 4. Exists in conjunction with $block_size
104 * because the encryption / decryption / key schedule creation requires this number and not $block_size. We could
105 * derive this from $block_size or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
152 * Holds the last used key- and block_size information
255 $this->block_size = $length >> 3;
278 $this->block_size == 16;
287 $this->block_size == 16;
289 if ($this->block_size != 16) {
296 $this->cipher_name_mcrypt = 'rijndael-' . ($this->block_size << 3);
506 if (is_string($this->iv) && strlen($this->iv) != $this->block_size) {
507 throw new InconsistentSetupException('The IV length (' . strlen($this->iv) . ') does not match the block size (' . $this->block_size . ')');
534 if (isset($this->kl['key']) && $this->key === $this->kl['key'] && $this->key_length === $this->kl['key_length'] && $this->block_size === $this->kl['block_size']) {
538 $this->kl = ['key' => $this->key, 'key_length' => $this->key_length, 'block_size' => $this->block_size];