Skip to main content
. 2015 Dec 21;15(Suppl 5):S5. doi: 10.1186/1472-6947-15-S5-S5

Table 9.

Complexity analysis in terms of cumulative circuit depth2 (CCD) and the number of homomorphic multiplications (HMs) for secure approximation division (Algorithm 3).

Algorithm 3 CCD # of HMs
1: Compute X^ logd-1+1 d − 1

2: Compute X^ logC-2+logd-1+2 C − 2

3:For c = 0,1, ⋯, C − 1

4: For i = 0,1, ⋯, d − 1

5: Calculate h^cd+ix^i

6: end for

7: end for

8: a^=0^

9: For c = 0,1, ⋯, C − 1

10: a^=0^

11: For i = 0,1, ⋯, d − 1

12: a^=a^+ĥcd+ix^i

13: end for

14: a^=a^+a^x^cd logC-2+logd-1+3 1

15: end for

Total: logC-2+logd-1+3 2C + d − 3