distribution/digest
Stephen J Day eee6cad2cf Remove digest package's dependency on external sha implementation
The change relies on a refactor of the upstream resumable sha256/sha512 package
that opts to register implementations with the standard library. This allows
the resumable support to be detected where it matters, avoiding unnecessary and
complex code. It also ensures that consumers of the digest package don't need
to depend on the forked sha implementations.

We also get an optimization with this change. If the size of data written to a
digester is the same as the file size, we check to see if the digest has been
verified. This works if the blob is written and committed in a single request.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-05-20 23:44:08 -07:00
..
digest.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
digest_test.go supplement of digest refactoring 2015-03-11 14:13:29 +08:00
digester.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
digester_resumable_test.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
doc.go Various adjustments to digest package for govet/golint 2014-11-19 14:59:05 -08:00
set.go Add digest set implementation 2015-03-24 08:17:43 -07:00
set_test.go Add digest set implementation 2015-03-24 08:17:43 -07:00
tarsum.go fix some typos in source comments 2015-04-17 12:39:52 +00:00
tarsum_test.go digest: Minor refactoring 2015-03-10 16:44:19 -07:00
verifiers.go Correctly close pipe after error in tarsum verification 2015-03-18 18:26:09 -07:00
verifiers_test.go Remove unnecessary error pointer formats in test 2015-03-18 19:02:32 -07:00