Searched refs:ec_params (Results 1 – 1 of 1) sorted by relevance
/plugin/twofactorgoogleauth/ |
H A D | QRCode.php | 128 $ec_params = $this->qr_ec_params[($version - 1) * 4 + $ecl]; 165 $i = count($data), $a = 1, $n = $ec_params[0]; 171 return array($mode, $version, $ec_params, $data); 385 protected function qr_encode_ec($data, $ec_params, $version) argument 387 $blocks = $this->qr_ec_split($data, $ec_params); 390 $ec_blocks[] = $this->qr_ec_divide($blocks[$i], $ec_params); 421 protected function qr_ec_split($data, $ec_params) argument 425 for ($i = $ec_params[2], $length = $ec_params[3]; $i > 0; $i--) { 429 for ($i = $ec_params[4], $length = $ec_params[5]; $i > 0; $i--) { 436 protected function qr_ec_divide($data, $ec_params) argument [all …]
|