Skip to main content
Shreevatsa Y
Associate
December 27, 2021
Question

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

  • December 27, 2021
  • 3 replies
  • 1175 views

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 topic has been closed for replies.

3 replies

Jocelyn RICARD
ST Employee
January 4, 2022

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
Senior III
January 4, 2022

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

Amel NASRI
Technical Moderator
January 5, 2022

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.