diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-03-24 17:48:48 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-03-24 17:48:48 +0100 |
commit | 614d6dd08948f25e86911e08efae53bf530d82d5 (patch) | |
tree | 862b96b866eb46cd97887db0a2cfa303cbf61d50 | |
parent | 5013550599d7d8e8b61572ecc9423218baad171d (diff) | |
download | ssdeep-614d6dd08948f25e86911e08efae53bf530d82d5.tar.gz |
fix comment for array implementation
-rw-r--r-- | fuzzy.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -90,12 +90,10 @@ static uint32_t sum_hash(unsigned char c, uint32_t h) { } /* A blockhash contains a signature state for a specific (implicit) blocksize. - * The blocksize is given by the start_blocksize from ssdeep_context times two - * to the power of the position of the element in the blockhashes member of - * ssdeep_context (head position = 0). The h and halfh members are the FNV - * hashes, where halfh stops to be reset after digest is SPAMSUM_LENGTH/2 long. - * The halfh hash is needed be able to truncate digest for the second output - * hash to stay compatible with ssdeep output. */ + * The blocksize is given by SSDEEP_BS(index). The h and halfh members are the + * FNV hashes, where halfh stops to be reset after digest is SPAMSUM_LENGTH/2 + * long. The halfh hash is needed be able to truncate digest for the second + * output hash to stay compatible with ssdeep output. */ struct blockhash_context { uint32_t h, halfh; char digest[SPAMSUM_LENGTH]; |