A control device authentication method in a home network system which comprises a slave, a home server for controlling the slave, and a control device which performs a remote control function to control the home server, the method comprising:
- registering the control device to the home server;
- generating and storing, by the control device and the home server, a one-way function set having parameters comprising a user identification (ID) of the control device, and an authentication key assigned to the control device;
- storing, by the control device and the home server, a code value of a button pressed at the control device which performs the remote control function;
- creating, by the control device, a first password by performing an operation using a pointer value, which indicates an area storing the code value in a first memory provided in the control device, the code value, and a one-way function number which is a one-way function among the one-way function set;
- requesting, by the control device, the authentication by transferring the pointer value, the one-way function number, and the first password to the home server;
- creating, by the home server, a second password by performing an operation using the code value stored in a first server memory in an area indicated by the pointer value transferred from the control device, the pointer value, and a one-way function corresponding to the one-way function number;
- and
- completing, by the home server, the authentication of the control device if a determination is made that the first password and the second password match.