# i have implemented algorithm for point addition and point double operation for elliptic

This post is a wiki. Anyone with karma >750 is welcome to improve it.

i am using above algorithm for scalar multiplication for point add and double operation but it is not working properly. the following sage math code i am using for scalar multiplication

F= FiniteField(p);                        #p=5
E = EllipticCurve(F,[A,B]);
print (E.points()[:8])
l = [0, 0, 1,1];l if my scalar is 3  binary of that is (0011)
for i in range(l):
if(i == 1):

else :