sim: Update to aes-ctr 0.4 and fix for API changes
Upgrade to the latest aes-ctr package, and apply minor fixes due to
trait naming changes in this version.
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/sim/src/image.rs b/sim/src/image.rs
index a44aadb..4a39010 100644
--- a/sim/src/image.rs
+++ b/sim/src/image.rs
@@ -28,8 +28,8 @@
Aes128Ctr,
stream_cipher::{
generic_array::GenericArray,
- NewFixStreamCipher,
- StreamCipherCore,
+ NewStreamCipher,
+ SyncStreamCipher,
},
};
diff --git a/sim/src/tlv.rs b/sim/src/tlv.rs
index 23f8bb8..69d542c 100644
--- a/sim/src/tlv.rs
+++ b/sim/src/tlv.rs
@@ -33,8 +33,8 @@
Aes128Ctr,
stream_cipher::{
generic_array::GenericArray,
- NewFixStreamCipher,
- StreamCipherCore,
+ NewStreamCipher,
+ SyncStreamCipher,
},
};
use mcuboot_sys::c;