Fixed CMAC and HMAC hashing.

Added small new finding to decompression routine:
- The compression_end flag tells if the block should be decompressed or not.