]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Eliminate reset from cryptodev hashes and mac
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 10 Jul 2013 20:26:19 +0000 (17:26 -0300)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 11 Jul 2013 08:44:13 +0000 (10:44 +0200)
It wasn't done in 73ec74c2 and 6f0ecbf4 for cryptodev causing build
failures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
lib/accelerated/cryptodev.c

index 63b0174cbdbe93e53c22610ffc0857210521407b..f3d8805997b3a695ffb0ecb7de91f6e461d9e0f8 100644 (file)
@@ -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
 };