Update sdk/src/encryption/aes.rs
Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
committed by
Michael Vines
parent
173d88d514
commit
b0e492bc06
@ -1,15 +1,15 @@
|
|||||||
#[cfg(not(target_arch = "bpf"))]
|
#[cfg(not(target_arch = "bpf"))]
|
||||||
use rand::{rngs::OsRng, Rng};
|
use rand::{rngs::OsRng, Rng};
|
||||||
|
|
||||||
use aes::{
|
use {
|
||||||
cipher::{BlockDecrypt, BlockEncrypt, NewBlockCipher},
|
aes::{
|
||||||
Aes128, Block,
|
cipher::{BlockDecrypt, BlockEncrypt, NewBlockCipher},
|
||||||
|
Aes128, Block,
|
||||||
|
},
|
||||||
|
arrayref::array_ref,
|
||||||
|
zeroize::Zeroize,
|
||||||
};
|
};
|
||||||
|
|
||||||
use arrayref::array_ref;
|
|
||||||
|
|
||||||
use zeroize::Zeroize;
|
|
||||||
|
|
||||||
pub struct AES;
|
pub struct AES;
|
||||||
impl AES {
|
impl AES {
|
||||||
#[cfg(not(target_arch = "bpf"))]
|
#[cfg(not(target_arch = "bpf"))]
|
||||||
|
Reference in New Issue
Block a user