Skip to content

Commit

Permalink
chore: fix typos (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDaisy authored Feb 5, 2024
1 parent df83115 commit 8fef11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fastcrypto-zkp/src/bn254/unit_tests/zk_login_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const BAD_JWK_BYTES: &[u8] = r#"{
async fn test_verify_zk_login_google() {
let user_salt = "206703048842351542647799591018316385612";

// Generate an ephermeral key pair.
// Generate an ephemeral key pair.
let kp = Ed25519KeyPair::generate(&mut StdRng::from_seed([0; 32]));
let mut eph_pubkey = vec![0x00];
eph_pubkey.extend(kp.public().as_ref());
Expand Down
2 changes: 1 addition & 1 deletion fastcrypto/src/secp256k1/recoverable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl RecoverableSigner for Secp256k1KeyPair {
let secp = Secp256k1::signing_only();
let message = Message::from_slice(H::digest(msg).as_ref()).unwrap();

// Creates a 65-bytes sigature of shape [r, s, v] where v can be 0 or 1.
// Creates a 65-bytes signature of shape [r, s, v] where v can be 0 or 1.
// Pseudo-random deterministic nonce generation is used according to RFC6979.
Secp256k1RecoverableSignature {
sig: secp.sign_ecdsa_recoverable(&message, &self.secret.privkey),
Expand Down

0 comments on commit 8fef11b

Please sign in to comment.