I am a newbie in cryptography, so I hope you can explain the principles of the elliptic curve to me in more detail.
It seems that the base point $(\text{0x56fdcbc6a27acee0cc2996e0096ae74feb1acf220a2341b898b549440297b8cc},\ \text{0x20da32e8afc90b7cf0e76bde44496b4d0794054e6ea60f388682463132f931a7})$ is not on curve $y^2 + xy \equiv x^3 + 161 \pmod{\text{0x0001026dd85081b82314691ced9bbec30547840e4bf72d8b5e0d258442bbcd31}}$ (i.e. $y^2 + xy \pmod{p} \ne x^3 + 161 \pmod{p}$). I am wondering if I misunderstood anything.
Besides, could you provide proof of these formulas?
- point doubling: $\lambda = \frac{y_1}{x_1} + x_1$, $x = \lambda^2 + \lambda + a$, $y = x_1^2 + (\lambda + 1)x$
- point addition: $\lambda = \frac{y_1 + y_2}{x_1 + x_2}$, $x = \lambda^2 + \lambda + x_1 + x_2 + a$, $y = \lambda(x + x_1) + x + y_1$
You might explain these in either English or Chinese.