Lines Matching refs:key_length
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.
117 * because the encryption / decryption / key schedule creation requires this number and not $key_length. We could
118 * derive this from $key_length or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
124 protected $key_length = 16;
200 $this->key_length = $length >> 3;
276 $this->key_length == 32 &&
292 $this->cipher_name_openssl_ecb = 'aes-' . ($this->key_length << 3) . '-ecb';
293 $this->cipher_name_openssl = 'aes-' . ($this->key_length << 3) . '-' . $this->openssl_translate_mode();
297 if ($this->key_length % 8) { // is it a 160/224-bit key?
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];
540 $this->Nk = $this->key_length >> 2;