diff --git a/Cargo.lock b/Cargo.lock index 496d3d16..2bbbfdd3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "ecdsa" version = "0.7.2" -source = "git+https://github.com/RustCrypto/signatures#de67a5244da7cd9d3836b852dd6b7f71104de736" +source = "git+https://github.com/RustCrypto/signatures#416e6cc79366a2b7ddc52c98b8ee7bdfb33d9ff8" dependencies = [ "elliptic-curve", "hmac", @@ -259,7 +259,7 @@ checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f" [[package]] name = "elliptic-curve" version = "0.5.0" -source = "git+https://github.com/RustCrypto/traits#abff234bfe0ced9254615dc608ece09619a8db38" +source = "git+https://github.com/RustCrypto/traits#a85525d61e1d882d12a4c00387655dded76fd0c2" dependencies = [ "const-oid", "digest", diff --git a/k256/src/lib.rs b/k256/src/lib.rs index 83087013..d6e0b617 100644 --- a/k256/src/lib.rs +++ b/k256/src/lib.rs @@ -90,7 +90,7 @@ pub struct Secp256k1; impl elliptic_curve::Curve for Secp256k1 { /// 256-bit (32-byte) - type ElementSize = U32; + type FieldSize = U32; } impl elliptic_curve::weierstrass::Curve for Secp256k1 { diff --git a/p256/src/lib.rs b/p256/src/lib.rs index 34ecd547..d431692a 100644 --- a/p256/src/lib.rs +++ b/p256/src/lib.rs @@ -95,7 +95,7 @@ pub struct NistP256; impl elliptic_curve::Curve for NistP256 { /// 256-bit (32-byte) - type ElementSize = U32; + type FieldSize = U32; } impl elliptic_curve::weierstrass::Curve for NistP256 { diff --git a/p384/src/lib.rs b/p384/src/lib.rs index 7a525c44..f5bcd7d8 100644 --- a/p384/src/lib.rs +++ b/p384/src/lib.rs @@ -53,7 +53,7 @@ pub struct NistP384; impl elliptic_curve::Curve for NistP384 { /// 384-bit (48-byte) - type ElementSize = U48; + type FieldSize = U48; } #[cfg(feature = "oid")]