EVP_DecryptInit() should call EVP_CipherInit() not EVP_CipherInit_ex().