diff --git a/crates/cli/proto/eth2-signer-api/google/api/http.proto b/crates/cli/proto/eth2-signer-api/google/api/http.proto index 2bd3a19b..285d7a3e 100644 --- a/crates/cli/proto/eth2-signer-api/google/api/http.proto +++ b/crates/cli/proto/eth2-signer-api/google/api/http.proto @@ -33,7 +33,7 @@ message Http { // **NOTE:** All service configuration rules follow "last one wins" order. repeated HttpRule rules = 1; - // When set to true, URL path parmeters will be fully URI-decoded except in + // When set to true, URL path parameters will be fully URI-decoded except in // cases of single segment matches in reserved expansion, where "%2F" will be // left encoded. // diff --git a/crates/eth2_keystore/src/keystore.rs b/crates/eth2_keystore/src/keystore.rs index b200f138..3192c355 100644 --- a/crates/eth2_keystore/src/keystore.rs +++ b/crates/eth2_keystore/src/keystore.rs @@ -57,7 +57,7 @@ pub const DKLEN: u32 = 32; pub const IV_SIZE: usize = 16; /// The byte size of a SHA256 hash. pub const HASH_SIZE: usize = 32; -/// The default iteraction count, `c`, for PBKDF2. +/// The default iteration count, `c`, for PBKDF2. pub const DEFAULT_PBKDF2_C: u32 = 262_144; #[derive(Debug, PartialEq)] @@ -77,7 +77,7 @@ pub enum Error { InvalidSaltLength, IncorrectIvSize { expected: usize, len: usize }, ScryptInvalidParams(InvalidParams), - ScryptInvaidOutputLen(InvalidOutputLen), + ScryptInvalidOutputLen(InvalidOutputLen), } /// Constructs a `Keystore`. @@ -450,7 +450,7 @@ fn derive_key(password: &[u8], kdf: &Kdf) -> Result { .map_err(Error::ScryptInvalidParams)?, dk.as_mut_bytes(), ) - .map_err(Error::ScryptInvaidOutputLen)?; + .map_err(Error::ScryptInvalidOutputLen)?; } }