| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix SHA2* cleanups to zero-out the complete context | David Kalnischkies | 2013-06-24 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | GCC 4.8 is now clever enough to warn about: contrib/sha2_internal.cc: In function ‘char* SHA256_End(SHA256_CTX*, char*)’: contrib/sha2_internal.cc:656:31: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] MEMSET_BZERO(context, sizeof(context)); So fix it as suggested. Its interesting though that the SHA2* calculation as far as we need it works even without zeroing out. Git-Dch: Ignore | ||||
| * | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | 2012-04-20 | 1 | -2/+6 |
| | | | | | | - do not use the input data directly but memcpy it instead as it could be unaligned as in the http-transport which causes a sigbus error on sparc (Closes: #669061) | ||||
| * | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | 2011-10-30 | 1 | -3/+13 |
| | | | | - use a pointer-union to peace gcc strict-aliasing warning | ||||
| * | reorder includes: add <config.h> if needed and include it at first | David Kalnischkies | 2011-09-13 | 1 | -0/+1 |
| | | |||||
| * | Make private sha2 functions static | Matt Emmerton | 2011-06-29 | 1 | -8/+8 |
| | | | | | (freebsd which can be considered the "official" upstream has applied it) | ||||
| * | move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵ | Michael Vogt | 2011-02-25 | 1 | -0/+1065 |
| sha2_internal.{cc,h} | |||||
