I've been trying to port the IDEAEngine to a java card. More specificly to a Axalto Cyberflex e-gate card which supports Java Card 2.1.1 and Opencard. The card only support boolean, byte and short data types.
After trying for 2 days it looks like I won't be able to change it to use shorts in place of int's. The algorithm is dependent on working with 32 bits it seems. Does anyone know if it's possible to implement IDEA just using shorts? I have thought of in place of using int's just using an 2 element array of shorts but looking at the code it looks like quite a big change to make it work with that.
Any help greatly appreciated!!
Notice This email is intended for the addressee only and may contain legally privileged and/or confidential information. If you have received this email in error and are not the intended recipient, you are hereby informed that you are not entitled to read, broadcast, distribute or in any manner whatsoever use the contents of this email or any attachments thereto. You are requested to please notify Psitek that you have received the email and then delete it. Unless clearly stated otherwise, the content and sentiments expressed in this email or any attachments thereto are those of the sender and not of Psitek (Proprietary) Limited. Psitek does not accept liability for any damages, loss or expense of any nature whatsoever arising (a) out of or in connection with the email or any attachments thereto and/or (b) from any act or omission by the recipient relying upon the content of the email or attachments. Psitek further disclaims liability for any damages caused by computer and/or software viruses. Should this email contain the terms of a contract, no binding agreement will result until such time as a written (hardcopy) document is signed on behalf of Psitek.