Lines Matching refs:components
69 $components = [];
84 $components['curve'] = self::loadCurveByParam($ecPrivate['parameters']);
101 …if (isset($components['curve']) && self::encodeParameters($ecParams, false, []) != self::encodePar…
105 if (!isset($components['curve'])) {
106 $components['curve'] = $ecParams;
109 $components['dA'] = new BigInteger($ecPrivate['privateKey'], 256);
110 $components['curve']->rangeCheck($components['dA']);
111 $components['QA'] = isset($ecPrivate['publicKey']) ?
112 self::extractPoint($ecPrivate['publicKey'], $components['curve']) :
113 … $components['curve']->multiplyPoint($components['curve']->getBasePoint(), $components['dA']);
115 return $components;
138 $components = [];
139 $components['curve'] = self::loadCurveByParam($key['parameters']);
140 $components['dA'] = new BigInteger($key['privateKey'], 256);
141 $components['QA'] = isset($ecPrivate['publicKey']) ?
142 self::extractPoint($ecPrivate['publicKey'], $components['curve']) :
143 … $components['curve']->multiplyPoint($components['curve']->getBasePoint(), $components['dA']);
145 return $components;