Lines Matching refs:lib
49 public $lib = null; variable in Auth_OpenID_DiffieHellman
52 $private = null, $lib = null) argument
54 if ($lib === null) {
55 $this->lib = Auth_OpenID_getMathLib();
57 $this->lib = $lib;
61 $this->mod = $this->lib->init(Auth_OpenID_getDefaultMod());
67 $this->gen = $this->lib->init(Auth_OpenID_getDefaultGen());
73 $r = $this->lib->rand($this->mod);
74 $this->private = $this->lib->add($r, 1);
79 $this->public = $this->lib->powmod($this->gen, $this->private,
85 return $this->lib->powmod($composite, $this->private, $this->mod);
102 $dh_shared_str = $this->lib->longToBinary($dh_shared);