1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 16:49:42 +01:00

replace git.io links

This commit is contained in:
terrafrost 2022-05-06 16:25:22 -05:00
parent 715bb9ff97
commit 15ad047415
3 changed files with 9 additions and 5 deletions

View File

@ -47,7 +47,8 @@ class KoblitzPrime extends Prime
* *
* Uses a efficiently computable endomorphism to achieve a slight speedup * Uses a efficiently computable endomorphism to achieve a slight speedup
* *
* Adapted from https://git.io/vxbrP * Adapted from:
* https://github.com/indutny/elliptic/blob/725bd91/lib/elliptic/curve/short.js#L219
* *
* @return int[] * @return int[]
*/ */

View File

@ -513,7 +513,8 @@ class Prime extends Base
/** /**
* Multiply and Add Points * Multiply and Add Points
* *
* Adapted from https://git.io/vxPUH * Adapted from:
* https://github.com/indutny/elliptic/blob/725bd91/lib/elliptic/curve/base.js#L125
* *
* @return int[] * @return int[]
*/ */
@ -639,7 +640,8 @@ class Prime extends Base
/** /**
* Precomputes NAF points * Precomputes NAF points
* *
* Adapted from https://git.io/vxY1f * Adapted from:
* https://github.com/indutny/elliptic/blob/725bd91/lib/elliptic/curve/base.js#L351
* *
* @return int[] * @return int[]
*/ */
@ -675,7 +677,8 @@ class Prime extends Base
/** /**
* Precomputes points in Joint Sparse Form * Precomputes points in Joint Sparse Form
* *
* Adapted from https://git.io/vxrpD * Adapted from:
* https://github.com/indutny/elliptic/blob/725bd91/lib/elliptic/utils.js#L96
* *
* @return int[] * @return int[]
*/ */

View File

@ -4574,7 +4574,7 @@ class SSH2
'aes192-ctr', // RECOMMENDED AES with 192-bit key 'aes192-ctr', // RECOMMENDED AES with 192-bit key
'aes256-ctr', // RECOMMENDED AES with 256-bit key 'aes256-ctr', // RECOMMENDED AES with 256-bit key
// from <https://git.io/fhxOl>: // from <https://github.com/openssh/openssh-portable/blob/001aa55/PROTOCOL.chacha20poly1305>:
// one of the big benefits of chacha20-poly1305 is speed. the problem is... // one of the big benefits of chacha20-poly1305 is speed. the problem is...
// libsodium doesn't generate the poly1305 keys in the way ssh does and openssl's PHP bindings don't even // libsodium doesn't generate the poly1305 keys in the way ssh does and openssl's PHP bindings don't even
// seem to support poly1305 currently. so even if libsodium or openssl are being used for the chacha20 // seem to support poly1305 currently. so even if libsodium or openssl are being used for the chacha20