changed name of X11 algorithm to uppercase
converted to unix line endings
added initialization and added external header
added compile-time detection of AES_NI