Some (hopefully) useful C snippets
- RAII macro (Resource Acquisition Is Initialization)
- SecureString - C-string structure with reference counting and secure delete before freeing resources
- TSS Error String - Function to get the string version of the TSS error codes (see: https://www.trustedcomputinggroup.org/files/resource_files/647A8E37-1D09-3519-AD860BD090352A8B/TSS_Version_1.2_Level_1_FINAL.pdf). The error description string will follow. This function should save a lot of typing time...