Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Elliptic Curves on Arduino

Status
Not open for further replies.

adwnis123

Full Member level 4
Joined
Jun 19, 2014
Messages
214
Helped
0
Reputation
0
Reaction score
1
Trophy points
18
Activity points
1,737
Can Elliptic curves be used on Arduino DUE for text message encryption/decryption and (not just for key generation)? Is there any other solution for using fast encryption/decryption using ECC (not ECDH or ECDSA)? I have done tests with this library: http://utter.chaos.org.uk/~markt/AES-library.zip on Arduino DUE achieving the below results:

COUNT = 0
KEY = 00000000000000000000000000000000
PLAINTEXT = 80000000000000000000000000000000
CIPHERTEXT = 3ad78e726c1ec02b7ebfe92b23d9ec34
Encryption time in usec:
95

COUNT = 1
KEY = 00000000000000000000000000000000
PLAINTEXT = c0000000000000000000000000000000
CIPHERTEXT = aae5939c8efdf2f04e60b9fe7117b2c2
Encryption time in usec:
95

COUNT = 2
KEY = 00000000000000000000000000000000
PLAINTEXT = e0000000000000000000000000000000
CIPHERTEXT = f031d4d74f5dcbf39daaf8ca3af6e527
Encryption time in usec:
97

COUNT = 3
KEY = 00000000000000000000000000000000
PLAINTEXT = f0000000000000000000000000000000
CIPHERTEXT = 96d9fd5cc4f07441727df0f33e401a36
Encryption time in usec:
95

Normally can't this be accelarated with ECC?

Thank you..
 

Calculation time looks fair for a 8-Bit processor, what do you expect?

- - - Updated - - -

I see DUE is Cortex M3, but still a small processor.
 
Calculation time looks fair for a 8-Bit processor, what do you expect?

- - - Updated - - -

I see DUE is Cortex M3, but still a small processor.

What I am asking is whether I can achieve better results by using ECC? DUE uses 84MHz 32-bit ARM processor...

By the way, how do I encrypt/decrypt messages (not numbers) with Elliptic Curves?

Thank you...
 

I probably misunderstood the original question. You are using AES128 and are asking if it can be speeded up by ECC? The answer is no.

ECC is not cipher method on it's own. It can be used for key exchange with symmetrical encryption methods like AES.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top