src/backup/crypt_setup.rs: remove unused CryptData struct

This commit is contained in:
Dietmar Maurer 2019-06-10 07:55:36 +02:00
parent bec8498ae3
commit 9e0187a203
1 changed files with 0 additions and 8 deletions

View File

@ -13,14 +13,6 @@ use openssl::hash::MessageDigest;
use openssl::symm::{Cipher, Crypter, Mode};
use std::io::{Read, Write};
/// Store data required for authenticated enryption
pub struct CryptData {
/// A 16 byte IV
pub iv: [u8; 16],
/// A 16 byte message authentication code (MAC)
pub mac: [u8; 16],
}
/// Encryption Configuration with secret key
///
/// This structure stores the secret key and provides helpers for