From 9e0187a203547a6689afbb0882e3ea88d817f3c7 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 10 Jun 2019 07:55:36 +0200 Subject: [PATCH] src/backup/crypt_setup.rs: remove unused CryptData struct --- src/backup/crypt_setup.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/backup/crypt_setup.rs b/src/backup/crypt_setup.rs index 7f5782b7..bb9ba870 100644 --- a/src/backup/crypt_setup.rs +++ b/src/backup/crypt_setup.rs @@ -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