I need someone help me about . how can compute time complexity for this algorithm (Menezes-Vanstone Elliptic Curve Cryptography). I have spent much time reading journals and papers but as yet have been unable to find any record of that performance complexity. It is known that the algorithm is encryption function is :
$C1 = k1 * m1$ mod p
$C2 = k2 * m2$ mod p
The decryption function is:
$m1 = C1 * k1^ {-1}$ mod p.
$m2 = C2 * k2^{ -1}$ mod p.
I think the encryption function it take $O(N)^{2}$
where $T(C1) = O(\log n)^2$ bit operations.
$T(C2) = O(\log n)^2$ bit operations.
and the decryption function it take $O(N)^{3}$. where
$T(m1) = O(\log n)^2 + T(k1^{-1})$.
$T(k1^{-1}) = O(\log n)^3$, by extend Euclid’s method.
$T(m1) = O(\log n)^2 + O(\log n)^3$ bit operations.
$T(m2) = O(\log n)^2 + O(\log n)^3$ bit operations.
Is that true?.