Jump to content
Tuts 4 You

Help with Implementing ECC in Delphi


KKR_WE_RULE

Recommended Posts

KKR_WE_RULE

Well guys, I went back to school as I went through the certicom ecc theories.

Now, I wanna implement ECC, & I am having a lil problem.

I am using delphi, & FGInt.

I am using ECB as the parameter generator.

But the Point G (base point of the curve), is represented as X & Y coordinate.

I But in the ECDSA unit available, the G is a function parameter of TECPoint type.

I saw in Crypto++ there is a function to combine the X & Y coordinates into a Point.

Is there any delphi eqivalent of that ?

Would be glad if any 1 points me 2 the right direction :)

Link to comment

I don't know if this is of any use to you, but the following page has examples of different crypto implementations:


/>http://www.submanifold.be/triade/GInt/gint.html

HR,

Ghandi

Link to comment
KKR_WE_RULE

Thx man.. But I already have that :)

If ya download the ECDSA using for the given link, ya will see that the BASE Point G is a function parameter.

I am using ECB to generate my curve parameters, & the basepoint is represented as X & Y coordinate.

I am searcing for a way to encapsulate the two coordinates into a single point (the base point here).

Link to comment

as I remember, there is no function like that

there is only ecurve_init and ecc arithmetics

also you can use Miracl

there you can find epoint_set function.

Link to comment
KKR_WE_RULE

as I remember, there is no function like that

there is only ecurve_init and ecc arithmetics

also you can use Miracl

there you can find epoint_set function.

Thats the problem..

I need ti implement it in delphi, and as for as I know Miracl doesn't work with delphi.

So, any suggestions, on how to use ECB to gen the curve params for use in delphi ?

Link to comment
KKR_WE_RULE

uhm... you just need to initialize a record?

As in ?

Suppose :

X = 664737823

Y = 372723849

Can ya give a small example ?

*edit*

I made it :)

Edited by KKR_WE_RULE
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...