mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Do not require feature=std for PublicKey::from_secret
This commit is contained in:
parent
33be38eb51
commit
f64b20b351
1 changed files with 0 additions and 1 deletions
|
|
@ -657,7 +657,6 @@ impl PublicKey {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Derive this public key from its corresponding `SecretKey`.
|
/// Derive this public key from its corresponding `SecretKey`.
|
||||||
#[cfg(feature = "std")]
|
|
||||||
#[allow(unused_assignments)]
|
#[allow(unused_assignments)]
|
||||||
pub fn from_secret<D>(secret_key: &SecretKey) -> PublicKey
|
pub fn from_secret<D>(secret_key: &SecretKey) -> PublicKey
|
||||||
where D: Digest<OutputSize = U64> + Default {
|
where D: Digest<OutputSize = U64> + Default {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue