Lines Matching defs:kc
144 $kc = $this->generateKeyKc($a1, $cipher, $mcKc);
145 [$iv, $key] = $this->generateKeyAndIV($cipher, $kc);
181 $kc = $this->generateKeyKc($a1, $cipher, $mcKc);
192 [$iv, $key] = $this->generateKeyAndIV($cipher, $kc);
340 protected function generateKeyAndIV(string $cipher, string $kc): array
342 # No IV and all of the kc for the key with RC4 types
344 return ['', $kc];
347 $iv = substr($kc, 8, 8);
349 $key = $this->expandDesKey(substr($kc, 0, 7));
351 $key1 = substr($kc, 0, 7);
352 $key2 = substr($kc, 7, 7);