Adds AES256 to the Crypto trait (#611)
This commit is contained in:
1
libraries/opensk/src/env/mod.rs
vendored
1
libraries/opensk/src/env/mod.rs
vendored
@@ -29,6 +29,7 @@ use rng256::Rng256;
|
||||
#[cfg(feature = "std")]
|
||||
pub mod test;
|
||||
|
||||
pub type AesKey<E> = <<E as Env>::Crypto as Crypto>::Aes256;
|
||||
pub type EcdhSk<E> = <<<E as Env>::Crypto as Crypto>::Ecdh as Ecdh>::SecretKey;
|
||||
pub type EcdhPk<E> = <<<E as Env>::Crypto as Crypto>::Ecdh as Ecdh>::PublicKey;
|
||||
pub type EcdsaSk<E> = <<<E as Env>::Crypto as Crypto>::Ecdsa as Ecdsa>::SecretKey;
|
||||
|
||||
Reference in New Issue
Block a user