Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
346 changes: 346 additions & 0 deletions src/hace_controller.rs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub mod pinctrl;
pub mod rsa;
pub mod spi;
pub mod spimonitor;
pub mod symmetric_cipher;
pub mod syscon;
pub mod tests;
pub mod timer;
Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use aspeed_ddk::tests::functional::hash_test::run_hash_tests;
use aspeed_ddk::tests::functional::hmac_test::run_hmac_tests;
use aspeed_ddk::tests::functional::i2c_test;
use aspeed_ddk::tests::functional::rsa_test::run_rsa_tests;
use aspeed_ddk::tests::functional::symm_cipher_test::run_symm_cipher_tests;
use aspeed_ddk::tests::functional::timer_test::run_timer_tests;
use panic_halt as _;

Expand Down Expand Up @@ -156,6 +157,8 @@ fn main() -> ! {

run_hmac_tests(&mut uart_controller, &mut hace_controller);

run_symm_cipher_tests(&mut uart_controller, &mut hace_controller);

// Enable RSA and ECC
let _ = syscon.enable_clock(ClockId::ClkRSACLK as u8);

Expand Down
Loading