This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Use of Secured Crypto Library for P8WE50XX on P5CD036 SmartMX

Hello all, I am trying to use this Secured Crypto Library by made by philips semiconductors for P8WE50XX processor on SmartMX processor. P5CD036 has a FameXE co-processor which is completely backward compatible with FameX co-processor used in P8WE50XX (source: Data sheet of P5CD036). But when I try to compile my project, I am getting two kinds of errors:


*** ERROR L103: EXTERNAL ATTRIBUT DO NOT MATCH PUBLIC SYMBOL: ?_s_long_exp?BYTE MODULE: .\rsa_modexp.obj (RSA_MODEXP) DEFINED: .\SLEXP.obj (SLEXP)

and

*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: ?_s_long_exp?BYTE MODULE: .\rsa_modexp.obj (RSA_MODEXP) ADDRESS: 8058A8H

s_denormalise and s_long_exp are the functions provided by this secured crypto library whose implementation is in SLEXP.obj. I searched a lot for help but found nothing. What are the likely causes of this error and how can I resolve these? The keil documentation for error L118 talks about defining a variable twice with variation in case but I have done nothing like that in my code. Any small clue would be extremely helpful. I am also getting the following kind of warning:

*** WARNING L46: SFR SYMBOL HAS DIFFERENT VALUES SYMBOL: CAV MODULE: .\commands.obj (COMMANDS) DEFINED: .\rw.obj (RW)

This is understandable as my processor is different from what this library is designed for. But I looked at the header file defining all the SFR's(p5cd036.h) and found out that if we define _WE_MODE_, the SFR values are same as that in P8WE50XX. But even after I did that, the warnings keep coming. I shall be grateful if anybody can suggest me how to avoid these warnings although it is not crucial for compilation.

Thanks and Regards,
venkat,
B-Tech, CSE,
IIT Kanpur,
INDIA.

Parents Reply Children
No data