mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
parent
cc3421a22f
commit
1efe6a93b1
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ impl SigningKey {
|
|||
/// # Returns
|
||||
///
|
||||
/// A `Result` whose okay value is an EdDSA [`SigningKey`] or whose error value
|
||||
/// is an `SignatureError` describing the error that occurred.
|
||||
/// is a `SignatureError` describing the error that occurred.
|
||||
#[inline]
|
||||
pub fn from_keypair_bytes(bytes: &[u8; 64]) -> Result<SigningKey, SignatureError> {
|
||||
let (secret_key, verifying_key) = bytes.split_at(SECRET_KEY_LENGTH);
|
||||
|
|
|
|||
Loading…
Reference in a new issue