I wonder if I am doing everything correctly, but I can't quite get why I am keep receiving different points for ed25519 depending on the way I am multiplying points by scalar. I compared same setup it with secp256k1 curve of this lib and got exactly same points. Can someone explain if this me that that is missing something or this is some kind of bug. I haven't tried to verify this results with any other lib yet. Here is my code and the result output:
I wonder if I am doing everything correctly, but I can't quite get why I am keep receiving different points for
ed25519
depending on the way I am multiplying points by scalar. I compared same setup it withsecp256k1
curve of this lib and got exactly same points. Can someone explain if this me that that is missing something or this is some kind of bug. I haven't tried to verify this results with any other lib yet. Here is my code and the result output:Output