porting the libgpucrpto crom c++ to c, utilize it in gpu_worker