diff options
author | Stuart Stock <stuart@int08h.com> | 2018-10-21 16:41:51 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2018-10-21 16:41:51 -0500 |
commit | 608e43e4843fef6081ce3cac2186e0291b73e0cb (patch) | |
tree | 10750fa59c0b4c2cefaca9bc73b6c004e923a210 /src/kms/envelope.rs | |
parent | 44e6212e3480d2f3b15f30434abc892adcf3836f (diff) | |
download | roughenough-608e43e4843fef6081ce3cac2186e0291b73e0cb.zip |
Docstring updates and misc cleanups
Diffstat (limited to 'src/kms/envelope.rs')
-rw-r--r-- | src/kms/envelope.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kms/envelope.rs b/src/kms/envelope.rs index 00206de..bc75994 100644 --- a/src/kms/envelope.rs +++ b/src/kms/envelope.rs @@ -15,7 +15,6 @@ extern crate hex; use std::io::{Cursor, Read, Write}; -use std::str::FromStr; use ring::aead::{open_in_place, seal_in_place, OpeningKey, SealingKey, AES_256_GCM}; use ring::rand::{SecureRandom, SystemRandom}; @@ -175,12 +174,9 @@ impl EnvelopeEncryption { #[cfg(test)] mod test { - use hex; use kms::envelope::{DEK_LEN_FIELD, MIN_PAYLOAD_SIZE, NONCE_LEN_FIELD}; use kms::EnvelopeEncryption; use kms::{KmsError, KmsProvider}; - use std::str::FromStr; - use std::string::ToString; struct MockKmsProvider {} |