Memory Endian Issues
The processors on the ProtectServer Network and PCIe HSMs are big endian, whereas the PSI-E and PSG processors are little endian. In Release 5 (or higher) all methods of endian byte order manipulation are consolidated into the endyn.h header file.
NOTE For best practice, use the endian macros provided in the ProtectToolkit-C header file endyn.h to encode all messages in network byte order. By using the endian macros on both host and FM, endian differences between host and HSM are not an issue.
FM_MAKE_VERSION Macro
The samples included in previous ProtectServer releases did not use the FM_MAKE_VERSION(major,minor) macro. The samples in Release 5 (or higher) use this macro. Not using the macro may result in FM version numbers being displayed reversed in ctconf and ctfm.
NOTE For best practice, use the FM_MAKE_VERSION(major,minor) macro to define the version number passed to DEFINE_FM_HEADER().