diff --git a/services/aes/src/lib.rs b/services/aes/src/lib.rs index 3eee5f4b7..3ba3297c9 100644 --- a/services/aes/src/lib.rs +++ b/services/aes/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(target_os = "none", no_std)] +#![no_std] /* Soft AES implementations vendored in from https://github.com/RustCrypto/block-ciphers.git diff --git a/services/aes/src/soft/fixslice32.rs b/services/aes/src/soft/fixslice32.rs index 238bd93b0..20fba3820 100644 --- a/services/aes/src/soft/fixslice32.rs +++ b/services/aes/src/soft/fixslice32.rs @@ -16,7 +16,7 @@ #![allow(clippy::unreadable_literal)] use crate::Block; -use std::convert::TryInto; +use core::convert::TryInto; use cipher::{consts::U2, generic_array::GenericArray}; /// AES block batch size for this implementation