|
Algorithm 4 Withdrawal protocol. |
Client A sends [Withdraw, k, .offCounter, ] to Bank-server (BS), where [k, .offCounter, ] ← .Withdraw(k).
Upon receiving [Withdraw, k, .offCounter, ] from A, BS performs the following steps:
-
(a)
Abort if .offCounter ≠ BS. + 1 or SigVerify([k, .offCounter], , .pbk) ≠ 1.
-
(b)
BS.onBal BS. + k.
-
(c)
BS.onCounter BS. + 1.
-
(d)
Send [WithdrawConfirmed] to A.
|