mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix dangling reference in AES ctr mode soft implementation
This commit is contained in:
parent
4cfd835c0c
commit
dd511432b4
2 changed files with 4 additions and 4 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
// TODO(tarcieri): support generic CTR API
|
||||
|
||||
use super::{Aes128, Aes192, Aes256};
|
||||
use super::{Aes128Soft, Aes192, Aes256Soft};
|
||||
|
||||
/// AES-128 in CTR mode
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "ctr")))]
|
||||
pub type Aes128Ctr = ::ctr::Ctr64BE<Aes128>;
|
||||
pub type Aes128Ctr = ::ctr::Ctr64BE<Aes128Soft>;
|
||||
|
||||
/// AES-192 in CTR mode
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "ctr")))]
|
||||
|
|
@ -14,4 +14,4 @@ pub type Aes192Ctr = ::ctr::Ctr64BE<Aes192>;
|
|||
|
||||
/// AES-256 in CTR mode
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "ctr")))]
|
||||
pub type Aes256Ctr = ::ctr::Ctr64BE<Aes256>;
|
||||
pub type Aes256Ctr = ::ctr::Ctr64BE<Aes256Soft>;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ utralib = {path = "../../utralib"}
|
|||
debugprint = []
|
||||
spinortest = [] # for spinor testing. contra-indicated with PDDB, as it steals memory from the PDDB.
|
||||
benchmarks = [] # adds the benchmark routines. Left off normally to free up code and memory space.
|
||||
default = [] # "debugprint"
|
||||
default = ["benchmarks"] # "debugprint"
|
||||
|
||||
[target.'cfg(any(windows,unix))'.dependencies]
|
||||
debug-here = "*"
|
||||
|
|
|
|||
Loading…
Reference in a new issue