what algorithm is used for NDIS driver in c language