ocb3: don't zero ocb3 context in ocb3_{de,en}crypt_last

This commit is contained in:
Steffen Jaeckel 2013-03-20 18:10:51 +02:00
parent 05b050b943
commit 6b5b35e6cc
2 changed files with 0 additions and 2 deletions

View File

@ -93,7 +93,6 @@ LBL_ERR:
#ifdef LTC_CLEAN_STACK #ifdef LTC_CLEAN_STACK
zeromem(iOffset_star, MAXBLOCKSIZE); zeromem(iOffset_star, MAXBLOCKSIZE);
zeromem(iPad, MAXBLOCKSIZE); zeromem(iPad, MAXBLOCKSIZE);
zeromem(ocb, sizeof(*ocb));
#endif #endif
return err; return err;

View File

@ -95,7 +95,6 @@ LBL_ERR:
#ifdef LTC_CLEAN_STACK #ifdef LTC_CLEAN_STACK
zeromem(iOffset_star, MAXBLOCKSIZE); zeromem(iOffset_star, MAXBLOCKSIZE);
zeromem(iPad, MAXBLOCKSIZE); zeromem(iPad, MAXBLOCKSIZE);
zeromem(ocb, sizeof(*ocb));
#endif #endif
return err; return err;