Lines Matching refs:lib
48 var $lib = null; variable in Auth_OpenID_DiffieHellman
51 $private = null, $lib = null) argument
53 if ($lib === null) {
54 $this->lib = Auth_OpenID_getMathLib();
56 $this->lib = $lib;
60 $this->mod = $this->lib->init(Auth_OpenID_getDefaultMod());
66 $this->gen = $this->lib->init(Auth_OpenID_getDefaultGen());
72 $r = $this->lib->rand($this->mod);
73 $this->private = $this->lib->add($r, 1);
78 $this->public = $this->lib->powmod($this->gen, $this->private,
84 return $this->lib->powmod($composite, $this->private, $this->mod);
101 $dh_shared_str = $this->lib->longToBinary($dh_shared);