| 297 | } |
| 298 | |
| 299 | void print_keylocker(void) |
| 300 | { |
| 301 | #ifndef __DARWIN__ |
| 302 | int keylocker_supported = is_keylocker_supported(); |
| 303 | |
| 304 | printf("\n============= Dumping INTEL Key Locker status =============\n"); |
| 305 | |
| 306 | printf("Key Locker supported : %s\n", keylocker_supported ? "YES" : "NO"); |
| 307 | |
| 308 | if (keylocker_supported) { |
| 309 | printf("AESKL instructions enabled : %s\n", is_aeskl_enabled() ? "YES" : "NO"); |
| 310 | } |
| 311 | printf("===========================================================\n"); |
| 312 | #else |
| 313 | printf("Not Implemented\n"); |
| 314 | #endif |
| 315 | } |
| 316 | |
| 317 | int print_intel_msrs(unsigned int range_start, unsigned int range_end) |
| 318 | { |
no test coverage detected