Skip to main content
. 2014 Apr 9;14(4):6443–6462. doi: 10.3390/s140406443

P-1 Ui inserts Ui's smart card into a terminal and inputs, IDi*, pwi*, and pwni. pwni is Ui's new password.
P-2 The smart card computes the following.
H_PWi*=h(pwi*)
xs=Cih(IDsH_PWi*)
Bi*=h(H_PWi*xs)
The smart card compares Bi* with Bi. If Bi*=Bi, then the next step proceeds; otherwise, this phase is aborted.
P-3 The smart card computes the following.
H_PWni=h(pwniRNr)
Ani=Aih(IDiH_PWi*xs)h(IDiH_PWnixs)
Bni=h(H_PWnixs)
Cni=xsh(IDsH_PWni)
The smart card replaces the existing values Ai, Bi, and Ci with the new values Ani, Bni, and Cni.