mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix rust warinings
This commit is contained in:
parent
43de6d67ec
commit
a403f0c5f9
1 changed files with 2 additions and 0 deletions
|
|
@ -674,6 +674,7 @@ macro_rules! define_aes_impl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
impl BlockDecrypt for $name {
|
impl BlockDecrypt for $name {
|
||||||
fn decrypt_with_backend(&self, f: impl BlockClosure<BlockSize = U16>) {
|
fn decrypt_with_backend(&self, f: impl BlockClosure<BlockSize = U16>) {
|
||||||
f.call(&mut self.get_dec_backend())
|
f.call(&mut self.get_dec_backend())
|
||||||
|
|
@ -759,6 +760,7 @@ macro_rules! define_aes_impl {
|
||||||
inner: $name,
|
inner: $name,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
impl $name_dec {
|
impl $name_dec {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub(crate) fn get_dec_backend(&self) -> $name_back_dec<'_> { self.inner.get_dec_backend() }
|
pub(crate) fn get_dec_backend(&self) -> $name_back_dec<'_> { self.inner.get_dec_backend() }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue