The SYSCFG() function's cfgCFGCHK element is a 32-bit value that contains bits to indicate if particular features are enabled or disabled at runtime.
In V11.5 and later, a bit has been added to indicate if the advanced encryption feature is enabled:
#define cfgCFGCHKadvenc ((LONG)0x00000008) /* advanced encryption enabled */