| 4 | enum HASH_TYPE {HASH_NONE,HASH_RAR14,HASH_CRC32,HASH_BLAKE2}; |
| 5 | |
| 6 | struct HashValue |
| 7 | { |
| 8 | void Init(HASH_TYPE Type); |
| 9 | bool operator == (const HashValue &cmp); |
| 10 | bool operator != (const HashValue &cmp) {return !(*this==cmp);} |
| 11 | |
| 12 | HASH_TYPE Type; |
| 13 | union |
| 14 | { |
| 15 | uint CRC32; |
| 16 | byte Digest[SHA256_DIGEST_SIZE]; |
| 17 | }; |
| 18 | }; |
| 19 | |
| 20 | |
| 21 | #ifdef RAR_SMP |
nothing calls this directly
no outgoing calls
no test coverage detected