Home
last modified time | relevance | path

Searched refs:strlen (Results 101 – 125 of 1362) sorted by path

12345678910>>...55

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DMontgomeryPublic.php49 switch (strlen($key)) {
H A DOpenSSH.php194 if (strlen($privateKey->secret) != 32) {
H A DPuTTY.php115 if (!(strlen($privateKey->toBits()) & 7)) {
H A Dlibsodium.php54 switch (strlen($key)) {
113 if (strlen($privateKey->secret) != 32) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php124 … 'SigEd25519 no Ed25519 collisions' . "\0" . chr(strlen($this->context)) . $this->context;
127 $dom = 'SigEd448' . "\0" . chr(strlen($context)) . $context;
H A DPublicKey.php72 if (strlen($signature) != 2 * $curve::SIZE) {
97 … 'SigEd25519 no Ed25519 collisions' . "\0" . chr(strlen($this->context)) . $this->context;
100 $dom2 = 'SigEd448' . "\0" . chr(strlen($context)) . $context;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php248 case strlen($nonce) > 0 && strlen($nonce) <= 16:
492 $last = strlen($nonce) - 1;
597 $length = strlen($m[$i]);
704 $length = strlen($m_2);
811 if (strlen($this->key) != 16) {
877 return strlen($output) > $this->length
987 $n = strlen($p) / $r; // number of blocks
1015 while (strlen($z) < $d) {
1180 $n = strlen($p) / $r; // number of blocks
1207 while (strlen($z) < $d) {
[all …]
H A DRC2.php298 if ($this->current_key_length != 128 || strlen($this->orig_key) < 16) {
367 if (strlen($key) < 1 || strlen($key) > 128) {
368 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
371 $t = strlen($key);
400 $this->key_length = strlen($this->key);
H A DRC4.php125 switch (strlen($this->key)) {
174 $length = strlen($key);
250 $keyLength = strlen($key);
295 $len = strlen($text);
H A DRSA.php541 if (strlen($x) > $xLen) {
607 $tLen = strlen($t);
667 $tLen = strlen($t);
H A DRandom.php183 while (strlen($result) < $length) {
H A DRijndael.php236 switch (strlen($key)) {
244 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
295 $this->nonce && strlen($this->nonce) == 12 &&
527 if (is_string($this->iv) && strlen($this->iv) != $this->block_size) {
528 …throw new InconsistentSetupException('The IV length (' . strlen($this->iv) . ') does not match the…
996 return Strings::shift($this->newtag, strlen($plaintext));
1030 if (strlen($this->oldtag) != 16) {
H A DSalsa20.php111 switch (strlen($key)) {
129 if (strlen($nonce) != 8) {
217 if (strlen($key) == 16) {
344 if (!strlen($buffer['ciphertext'])) {
348 $text = substr($text, strlen($ciphertext));
349 if (!strlen($text)) {
354 $overflow = strlen($text) % 64; // & 0x3F
371 if (strlen($text)) {
381 } elseif (!strlen($buffer['ciphertext'])) {
384 $buffer['counter'] += (strlen($text) >> 6);
[all …]
H A DTripleDES.php258 if ($this->explicit_key_length !== false && strlen($key) != $this->explicit_key_length) {
259 … been set to ' . $this->explicit_key_length . ' bytes and this key is ' . strlen($key) . ' bytes');
262 switch (strlen($key)) {
269 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
274 $this->key_length = strlen($key);
299 if ($this->mode_3cbc && strlen($this->key) > 8) {
322 if ($this->mode_3cbc && strlen($this->key) > 8) {
327 str_pad($ciphertext, (strlen($ciphertext) + 7) & 0xFFFFFFF8, "\0")
416 case strlen($this->key) <= 8:
H A DTwofish.php424 switch (strlen($key)) {
430 …throw new \LengthException('Key of size ' . strlen($key) . ' not supported by this algorithm. Only…
462 switch (strlen($this->key)) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DMSBLOB.php98 if (strlen($key) < 20) {
154 if (strlen($key) != 2 * $baseLength && strlen($key) != 9 * $baseLength) {
213 $key .= pack('VVa*', self::RSA2, 8 * strlen($n), $e);
238 $key .= pack('VVa*', self::RSA1, 8 * strlen($n), $e);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/
H A DPrivateKey.php331 if (strlen($c) != $this->k) { // or if k < 11
348 $m = substr($em, strlen($ps) + 3);
350 if (strlen($ps) < 8) {
384 if (strlen($c) != $this->k || $this->k < 2 * $this->hLen + 2) {
410 for ($i = 0; $i < strlen($m); $i++) {
439 if (strlen($m) > $this->k) {
H A DPublicKey.php82 if (strlen($s) != $this->k) {
150 if (strlen($s) != $this->k) {
176 if (!is_array($decoded) || empty($decoded[0]) || strlen($em) > $decoded[0]['length']) {
246 if ($em[strlen($em) - 1] != chr(0xBC)) {
283 if (strlen($s) != $this->k) {
289 $modBits = strlen($this->modulus->toBits());
337 $mLen = strlen($m);
349 while (strlen($ps) != $psLen) {
350 $temp = Random::string($psLen - strlen($ps));
380 $mLen = strlen($m);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
H A DANSI.php235 for ($i = 0; $i < strlen($source); $i++) {
236 if (strlen($this->ansi)) {
245 case strlen($this->ansi) == 2 && $chr >= 64 && $chr <= 95 && $chr != ord('['):
246 case strlen($this->ansi) > 2 && $chr >= 64 && $chr <= 126:
411 if ($this->x > strlen($this->screen[$this->y])) {
H A DASN1.php280 $length = strlen($encoded) - $encoded_pos;
296 if ($length > (strlen($encoded) - $encoded_pos)) {
367 if ($constructed || strlen($content) != 1) {
434 if ($constructed || strlen($content)) {
445 $content_len = strlen($content);
1023 if (!strlen($value)) {
1173 $len = strlen($content);
1258 $temp[strlen($temp) - 1] = $temp[strlen($temp) - 1] & chr(0x7F);
1301 if ($content[strlen($content) - 1] == 'Z') {
1376 $inlength = strlen($in);
[all …]
H A DX509.php1178 if (strlen($line) < 3) {
1557 $size = strlen($ip) >> 1;
2872 …icKeyAndChallenge']['challenge'] = $this->challenge & str_repeat("\x7F", strlen($this->challenge));
3129 $temp = chr(ASN1::TYPE_GENERALIZED_TIME) . ASN1::encodeLength(strlen($temp)) . $temp;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DBCMath.php90 $len = (strlen($this->value) + 3) & 0xFFFFFFFC;
111 $x = (strlen($this->value) & 1) ? '0' . $this->value : $this->value;
319 $temp->value = strlen($this->value) && $this->value[0] == '-' ?
549 if ($this->value[strlen($this->value) - 1] % 2 == 0) {
579 while ($r_value[strlen($r_value) - 1] % 2 == 0) {
655 return $this->value[strlen($this->value) - 1] % 2 == 1;
679 return strlen($this->value) && $this->value[0] == '-';
693 if (!strlen($temp->value)) {
H A DEngine.php477 if (strlen($msb) == 8) {
483 $current_bits = strlen($pre_msb) + 8 * strlen($temp) - 8;
518 for ($i = strlen($x) - 1; $i >= 0; --$i) {
551 $precision = 8 * strlen($bits) - 8 + $i;
615 return strlen($this->toBits());
625 return strlen($this->toBytes());
674 $e_length = strlen($e_bits);
824 $size = strlen(ltrim($max->toBytes(), chr(0)));
1238 $length = max(strlen($left), strlen($right));
1257 $length = max(strlen($left), strlen($right));
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/
H A DBarrett.php73 $m_length = strlen($m);
75 if (strlen($n) > 2 * $m_length) {
160 $n_length = strlen($n);
162 if (strlen($x) > 2 * $n_length) {
H A DEvalBarrett.php62 $m_length = strlen($m);

12345678910>>...55