cancel
Showing results for 
Search instead for 
Did you mean: 

St Crypto library upgrade issue V2.0.6 -> V4.0.1

Shreevatsa Y
Associate II

We had a project built using ST Crypto V2.0.6 (M3_CryptoHW_2_0_6.lib) library in Keil IDE. Now we replaced the ST Crypto library by V4.0.1 (libSTM32Cryptographic_CM3.a)

We are seeing the following errors

..\STM32_Crypto\lib\libSTM32Cryptographic_CM3.a(1): error: A1167E: Invalid line start 

..\STM32_Crypto\lib\libSTM32Cryptographic_CM3.a(2): error: A1167E: Invalid line start 

..\STM32_Crypto\lib\libSTM32Cryptographic_CM3.a(3): error: A1167E: Invalid line start 

Attached is the screen shot of the project.

Let us know the procedure to update the library and if any workarounds are present.

0693W00000HppBoQAJ.png

This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Jocelyn RICARD
ST Employee

Hello @Shreevatsa Y​ 

I'm not sure where your issue comes from.

Can you try compiling one example provided for cortex M3 in

STM32CubeExpansion_Crypto_V4.0.1\Projects\NUCLEO-L152RE\

On my side, with Keil 5.33 this is compiling without issue.

Best regards

Jocelyn

alister
Lead

You're trying to assemble a library. Read the Keil documentation.

Amel NASRI
ST Employee

Hi @Shreevatsa Y​ ,

Besides to proposals from @alister​ and @Jocelyn RICARD​ , I suggest you to refer to the wiki article Migration from previous Cryptographic Library version. I hope you will find required help there.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.