Prechádzať zdrojové kódy

Clarify reference commits and licenses (#5205)

Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
cairo 1 rok pred
rodič
commit
7364ba2a92

+ 3 - 3
contracts/utils/cryptography/P256.sol

@@ -11,9 +11,9 @@ import {Errors} from "../Errors.sol";
  * and cryptographic standards. Some notable examples include Apple's Secure Enclave and Android's Keystore
  * as well as authentication protocols like FIDO2.
  *
- * Based on the original https://github.com/itsobvioustech/aa-passkeys-wallet/blob/main/src/Secp256r1.sol[implementation of itsobvioustech].
- * Heavily inspired in https://github.com/maxrobot/elliptic-solidity/blob/master/contracts/Secp256r1.sol[maxrobot] and
- * https://github.com/tdrerup/elliptic-curve-solidity/blob/master/contracts/curves/EllipticCurve.sol[tdrerup] implementations.
+ * Based on the original https://github.com/itsobvioustech/aa-passkeys-wallet/blob/d3d423f28a4d8dfcb203c7fa0c47f42592a7378e/src/Secp256r1.sol[implementation of itsobvioustech] (GNU General Public License v3.0).
+ * Heavily inspired in https://github.com/maxrobot/elliptic-solidity/blob/c4bb1b6e8ae89534d8db3a6b3a6b52219100520f/contracts/Secp256r1.sol[maxrobot] and
+ * https://github.com/tdrerup/elliptic-curve-solidity/blob/59a9c25957d4d190eff53b6610731d81a077a15e/contracts/curves/EllipticCurve.sol[tdrerup] implementations.
  */
 library P256 {
     struct JPoint {

+ 1 - 1
contracts/utils/cryptography/RSA.sol

@@ -10,7 +10,7 @@ import {Math} from "../math/Math.sol";
  * The padding follows the EMSA-PKCS1-v1_5-ENCODE encoding definition as per section 9.2 of the RFC. This padding makes
  * RSA semantically secure for signing messages.
  *
- * Inspired by https://github.com/adria0/SolRsaVerify[Adrià Massanet's work]
+ * Inspired by https://github.com/adria0/SolRsaVerify/blob/79c6182cabb9102ea69d4a2e996816091d5f1cd1[Adrià Massanet's work] (GNU General Public License v3.0).
  */
 library RSA {
     /**