/* * check replay counter whether to update or not. * OUT: 0: OK * 1: NG */