Lines Matching refs:components
113 $components = [];
114 $components['curve'] = self::loadCurveByParam($params);
117 $components['QA'] = self::extractPoint("\0" . $key['publicKey'], $components['curve']);
119 return $components;
128 $components['dA'] = new BigInteger($key['privateKey'], 256);
129 $components['curve']->rangeCheck($components['dA']);
130 $components['QA'] = isset($key['publicKey']) ?
131 self::extractPoint($key['publicKey'], $components['curve']) :
132 … $components['curve']->multiplyPoint($components['curve']->getBasePoint(), $components['dA']);
134 return $components;
144 $components = [];
147 …$components['curve'] = $key['privateKeyAlgorithm']['algorithm'] == 'id-Ed25519' ? new Ed25519() : …
154 $components['dA'] = $components['curve']->extractSecret(substr($key['privateKey'], 2));
158 if (!isset($components['curve'])) {
159 …$components['curve'] = $key['publicKeyAlgorithm']['algorithm'] == 'id-Ed25519' ? new Ed25519() : n…
162 $components['QA'] = self::extractPoint($key['publicKey'], $components['curve']);
165 if (isset($key['privateKey']) && !isset($components['QA'])) {
166 …$components['QA'] = $components['curve']->multiplyPoint($components['curve']->getBasePoint(), $com…
169 return $components;