Template protection for dynamic time warping based biometric signature authentication