diff --git a/psa-crypto-sys/build.rs b/psa-crypto-sys/build.rs index c4b73fc..fe3063b 100644 --- a/psa-crypto-sys/build.rs +++ b/psa-crypto-sys/build.rs @@ -95,7 +95,7 @@ mod common { .clang_arg(format!("-I{}", mbed_include_dir)) .rustfmt_bindings(true) .header("src/c/shim.h") - .blacklist_type("max_align_t") + .blocklist_type("max_align_t") .generate_comments(false) .size_t_is_usize(true) .generate() diff --git a/psa-crypto/src/types/algorithm.rs b/psa-crypto/src/types/algorithm.rs index 0e09434..ee73842 100644 --- a/psa-crypto/src/types/algorithm.rs +++ b/psa-crypto/src/types/algorithm.rs @@ -185,8 +185,6 @@ impl Mac { /// Enumeration of symmetric encryption algorithms supported. #[derive(Copy, Clone, Debug, PartialEq, Serialize, Deserialize, Zeroize)] -// StreamCipher contains "Cipher" to differentiate with the other ones that are block cipher modes. -#[allow(clippy::pub_enum_variant_names)] pub enum Cipher { /// The stream cipher mode of a stream cipher algorithm. StreamCipher, diff --git a/psa-crypto/src/types/key_derivation.rs b/psa-crypto/src/types/key_derivation.rs index f320c6a..ac7a4f5 100644 --- a/psa-crypto/src/types/key_derivation.rs +++ b/psa-crypto/src/types/key_derivation.rs @@ -184,7 +184,7 @@ impl Inputs<'_> { ) -> Result<()> { match secret { InputSecret::Input(input) => { - Inputs::apply_input_step_to_op(op, DerivationStep::Secret, &input) + Inputs::apply_input_step_to_op(op, DerivationStep::Secret, input) } InputSecret::KeyAgreement { private_key,