modulerize part  of msm crypto device driver