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.

VHDL Code for IDEA Algorithm

Status
Not open for further replies.

pramod0488

Newbie level 3
Joined
Jul 14, 2009
Messages
3
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
Hyderabad
Activity points
1,300
Hi all ...



Does anyone knows how to implement IDEA algorithm in VHDL, especially the multiplier part(Low High Algorithm)?



Kindly help me out in this
 

Can you please give me the link, at which i can find the C code implementation of this ?
 
i am not able to understand how the MOdulo 2 multiplier is implemented, can you please give me a sample code for doing the modulo multiplier thing ?
 
I see, that I confused IDEA (International Data Encryption Algorithm) and it's successor IDEA NXT. Both are similar in several regards of course. Modular arithmetic can be found in most newer crypto algorithms. The principle is explained in crypto related and general mathematical literature.

IDEA doesn't use modulo 2 rather than modulo 2^16+1 (0x10001) multiplication, if I understand right. The IDEA code is e.g documented in Bruce Schreier's profound text book Applied Cryptography.
 
modulo arithmetic means after you do the add or multiply, you have to take the remainder. For example

6*5 mod 13
= 30 mod 13
= 4

hope it helps a bit
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top