Table 6.
Operation on transaction | Computations | Time cost |
---|---|---|
Hospital generates a | 1S + 7PM | 212.209 ms |
Hospital generates a | 1S + 9E | 83.931 ms |
Hospital generates a | 1S + 9PM | 271.347 ms |
Hospital generates a Trecord | 1S + 14FA | 5.226 ms |
Insurance company generates a Tquery | 1S | 5.226 ms |
Server generates a Trespond | 1S + 5FM + 12FA + 1E + 1PM | 43.543 ms |
Record-node verifies a | 1V + 5PM + 2PA | 157.454 ms |
Record-node verifies a | 1V | 9.137 ms |
Record-node verifies a | 1V + 15PM + 9PA | 454.796 ms |
Record-node verifies a Trecord | 1V | 9.137 ms |
Record-node verifies a Tquery | 1V | 9.137 ms |
Record-node verifies a Trespond | 1V + 2PM + 10PA + 5Pairing | 494.361 ms |
Server verifies a | 3D+ + 3PM | 101.807 ms |
Insurance company verifies a Trespond | 1D + 1PM | 33.936 ms |
Insurance company recovers the result | 4FA + 4FM | < 0.005 ms |
In the table, S is a signing computation, V denotes a signature verification, PM describes a point multiplication on the ECC, PA is a point addition on the ECC, Pairing means a pairing computation, E is a encryption, D denotes a decryption, FM describes a field multiplication and FA is a field addition. For instance, “2PM + 3PA + 1V + 6Pairing” denotes that the corresponding computations contain 2 point multiplications, 3 point additions, 1 signature verification and 6 pairing computations