diff options
Diffstat (limited to 'block-sha1')
-rw-r--r-- | block-sha1/sha1.c | 6 | ||||
-rw-r--r-- | block-sha1/sha1.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/block-sha1/sha1.c b/block-sha1/sha1.c index 92d912160..d8934757a 100644 --- a/block-sha1/sha1.c +++ b/block-sha1/sha1.c @@ -1,7 +1,9 @@ /* - * Based on the Mozilla SHA1 (see mozilla-sha1/sha1.c), - * optimized to do word accesses rather than byte accesses, + * SHA1 routine optimized to do word accesses rather than byte accesses, * and to avoid unnecessary copies into the context array. + * + * This was initially based on the Mozilla SHA1 implementation, although + * none of the original Mozilla code remains. */ /* this is only to get definitions for memcpy(), ntohl() and htonl() */ diff --git a/block-sha1/sha1.h b/block-sha1/sha1.h index 81abfd4c1..b864df623 100644 --- a/block-sha1/sha1.h +++ b/block-sha1/sha1.h @@ -1,7 +1,9 @@ /* - * Based on the Mozilla SHA1 (see mozilla-sha1/sha1.h), - * optimized to do word accesses rather than byte accesses, + * SHA1 routine optimized to do word accesses rather than byte accesses, * and to avoid unnecessary copies into the context array. + * + * This was initially based on the Mozilla SHA1 implementation, although + * none of the original Mozilla code remains. */ typedef struct { |