|
Algorithm 3 Deposit protocol. |
Alice sends [Deposit, x] to BS.
Upon receiving [Deposit, x] from Alice, server BS does the following steps:
-
(a)
Abort if x > BS..
-
(b)
BS.onbal BS. - x.
-
(c)
BS.i BS. + 1.
-
(d)
Send [DepositConfirmed, x, BS.i] to A, where Sign([.pbk, x, BS.], BS.prk).
Upon receiving [DepositConfirmed, x, BS.onCounter] from BS. A invokes T.Deposit(x, BS.onCounter).
|