Funshade: Function secret sharing for two-party secure thresholded distance evaluation