A C library to compress/decompress CHERI capabilities
See Section 3.4.4 and 3.4.5 of the instruction set architecture document for an explanation of how the compression works.
Simply include cheri_compressed_cap.h
in your C project and you can use the provided functions to compress and decompress your capabilities.