From 365317c9d963a410686a8bc8f38653b209409dc2 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Tue, 18 Jan 2022 16:05:21 +0100 Subject: [PATCH] Fix `hash2curve` crate feature --- k256/Cargo.toml | 2 +- p256/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k256/Cargo.toml b/k256/Cargo.toml index 7bed5a42..b78a06d3 100644 --- a/k256/Cargo.toml +++ b/k256/Cargo.toml @@ -46,7 +46,7 @@ digest = ["ecdsa-core/digest", "ecdsa-core/hazmat"] ecdh = ["arithmetic", "elliptic-curve/ecdh"] ecdsa = ["arithmetic", "digest", "ecdsa-core/sign", "ecdsa-core/verify"] expose-field = ["arithmetic"] -hash2curve = ["elliptic-curve/hash2curve"] +hash2curve = ["arithmetic", "elliptic-curve/hash2curve"] jwk = ["elliptic-curve/jwk"] keccak256 = ["digest", "sha3"] pem = ["elliptic-curve/pem", "ecdsa-core/pem", "pkcs8"] diff --git a/p256/Cargo.toml b/p256/Cargo.toml index 2054fff6..0a4c4926 100644 --- a/p256/Cargo.toml +++ b/p256/Cargo.toml @@ -39,7 +39,7 @@ bits = ["arithmetic", "elliptic-curve/bits"] digest = ["ecdsa-core/digest", "ecdsa-core/hazmat"] ecdh = ["arithmetic", "elliptic-curve/ecdh"] ecdsa = ["arithmetic", "ecdsa-core/sign", "ecdsa-core/verify", "sha256"] -hash2curve = ["elliptic-curve/hash2curve"] +hash2curve = ["arithmetic", "elliptic-curve/hash2curve"] jwk = ["elliptic-curve/jwk"] pem = ["elliptic-curve/pem", "ecdsa-core/pem", "pkcs8"] pkcs8 = ["elliptic-curve/pkcs8"]