Skip to content

Commit 101d8fe

Browse files
committed
Fix format errors.
1 parent ebcdf89 commit 101d8fe

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

hal/blocking/src/ecdsa.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,19 @@
6262
//! // let mut key_generator = SoftwareKeyGen::new();
6363
//! // let mut rng = YourCryptoRng::new();
6464
//! // let (private_key, public_key) = key_generator.generate_keypair(&mut rng)?;
65-
//!
65+
//!
6666
//! // Software keys can be serialized:
6767
//! // let private_bytes = private_key.as_bytes(); // SerializablePrivateKey
6868
//! // let public_bytes = public_key.as_bytes(); // SerializablePublicKey
69-
//!
69+
//!
7070
//! // HARDWARE KEYS (no serialization):
7171
//! // let mut hsm_generator = HsmKeyGen::new();
7272
//! // let (hsm_private, hsm_public) = hsm_generator.generate_keypair(&mut rng)?;
73-
//!
73+
//!
7474
//! // Hardware keys cannot be serialized (no IntoBytes/FromBytes bounds)
7575
//! // but can still be used for cryptographic operations:
7676
//! // hsm_private.validate()?; // PrivateKey trait method
77-
//!
77+
//!
7878
//! // Both key types work the same for crypto operations:
7979
//! // let mut signer = YourSignerImpl::new();
8080
//! // let message_digest = your_hash_function(message);
@@ -439,7 +439,6 @@ pub trait Signature<C: Curve> {
439439
where
440440
Self: Sized;
441441

442-
443442
/// Write coordinates to output buffers (zero-allocation for embedded).
444443
///
445444
/// This method provides zero-allocation coordinate access for embedded

0 commit comments

Comments
 (0)