I am new to SJCL library and I am working on elliptic curve cryptography at very basic level. I can't implement the add function for two points on the elliptic curve.
The signature of add function which I found on internet is curve.a.add(b), where a and b are points.
When I implemented this function syntax, I got this error
TypeError: Cannot read property 'add' of undefined
Here P and Q are points on elliptic curve k256.