[gnutls-devel] [PATCH] Eliminate reset from cryptodev hashes and mac

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Jul 10 22:26:19 CEST 2013


It wasn't done in 73ec74c2 and 6f0ecbf4 for cryptodev causing build
failures.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 lib/accelerated/cryptodev.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/accelerated/cryptodev.c b/lib/accelerated/cryptodev.c
index 63b0174..f3d8805 100644
--- a/lib/accelerated/cryptodev.c
+++ b/lib/accelerated/cryptodev.c
@@ -49,7 +49,6 @@ struct cryptodev_ctx
   struct session_op sess;
   struct crypt_op cryp;
   uint8_t iv[EALG_MAX_BLOCK_LEN];
-  int reset;
 
   int cfd;
 };
@@ -356,7 +355,6 @@ static const gnutls_crypto_mac_st mac_struct = {
   .hash = NULL,
   .output = NULL,
   .deinit = NULL,
-  .reset = NULL,
   .fast = cryptodev_mac_fast
 };
 
@@ -407,7 +405,6 @@ static const gnutls_crypto_digest_st digest_struct = {
   .hash = NULL,
   .output = NULL,
   .deinit = NULL,
-  .reset = NULL,
   .fast = cryptodev_digest_fast
 };
 
-- 
1.8.1.5




More information about the Gnutls-devel mailing list