Giter Club home page Giter Club logo

Comments (3)

kmackay avatar kmackay commented on July 26, 2024

Make sure you are using the correct uECC_WORD_SIZE (I assume 4). Other than
that, you will need to implement operations for your processor to improve
performance. I don't know anything about the Cortus processor. If they are
ARM-based then you can just use the existing ARM assembly implementation
(define uECC_PLATFORM to uECC_arm). Otherwise you will need to implement
the assembly implementation yourself.

On Mon, Apr 6, 2015 at 1:06 AM, azahido [email protected] wrote:

Hello,
please, I come back to you Mr. I lost in optimization to run the mico-ecc
in my environment, the issue when I run the ecc- signature generation it
took more 19 seconds please, I lost more time (more than 4 months) to have
results as you found less than 2 seconds.
I am working on "cortus aps 32 bits as platform". please I want to
understand how you got the very good answers time results, I don't know If
I need to write the assembly for the function that take time in
calculation, if needed please help me.
Please, I would be very grateful if you could help me asap to resolved
this issue.
Thank you so much


Reply to this email directly or view it on GitHub
https://github.com/kmackay/micro-ecc/issues/26.

from micro-ecc.

azahido avatar azahido commented on July 26, 2024

please, when which step I can use the ARM-Assembly could you help me by
explaining the steep to use existing assembly

On Mon, Apr 6, 2015 at 9:10 PM, Ken MacKay [email protected] wrote:

Make sure you are using the correct uECC_WORD_SIZE (I assume 4). Other than
that, you will need to implement operations for your processor to improve
performance. I don't know anything about the Cortus processor. If they are
ARM-based then you can just use the existing ARM assembly implementation
(define uECC_PLATFORM to uECC_arm). Otherwise you will need to implement
the assembly implementation yourself.

On Mon, Apr 6, 2015 at 1:06 AM, azahido [email protected] wrote:

Hello,
please, I come back to you Mr. I lost in optimization to run the mico-ecc
in my environment, the issue when I run the ecc- signature generation it
took more 19 seconds please, I lost more time (more than 4 months) to
have
results as you found less than 2 seconds.
I am working on "cortus aps 32 bits as platform". please I want to
understand how you got the very good answers time results, I don't know
If
I need to write the assembly for the function that take time in
calculation, if needed please help me.
Please, I would be very grateful if you could help me asap to resolved
this issue.
Thank you so much


Reply to this email directly or view it on GitHub
https://github.com/kmackay/micro-ecc/issues/26.


Reply to this email directly or view it on GitHub
https://github.com/kmackay/micro-ecc/issues/26#issuecomment-90245526.

ZAHID Ahmed
Hardware and Software Design Engineer
MU-Electronics Rabat-Morocco
Tel: +212670157725
Email: [email protected] [email protected]

''Where others see limitations, we see possibilities''

from micro-ecc.

kmackay avatar kmackay commented on July 26, 2024

Apparently Cortus chips are not ARM-based, they use their own instruction set. This means that you will not be able to use my existing ARM assembly implementation. You will need to write your own implementation. I also wasn't able to find any documentation on the Cortus instruction set, so you're on your own there.

I recommend starting with the vli_add() and vli_sub() since they are pretty simple and you should see a measurable performance increase. For fast multiplication (vli_mult() and vli_square()), see http://www.iacr.org/archive/ches2011/69170459/69170459.pdf

from micro-ecc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.