Export alg function for getting cipher mode from EVP_CIPHER