Skip to main content
Tantalum
Associate II
November 11, 2013
Question

STM32 cryptographic library - GCC compatibility

  • November 11, 2013
  • 23 replies
  • 5227 views
Posted on November 11, 2013 at 20:26

Hello

Maybe I'm wrong, but the

http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF259409

only provides binaries compatible with compilers from Keil or IAR but none for GCC.

Since the sources aren't openly available, for reasons I can understand, is it possible that somebody from ST provides us an GCC compatible version?

Thank you.

#stm32-cryptograhic-library-gcc #understand-your-tools #understand-your-tools #know-your-tools
This topic has been closed for replies.

23 replies

Tesla DeLorean
Guru
November 19, 2016
Posted on November 19, 2016 at 15:12

Could you use OpenPGP or GnuPG to generate some keys?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
fabi
Associate
November 19, 2016
Posted on November 19, 2016 at 15:20

hi,

I have a few basic questions regarding the x-cube-cryptolib + STM32F415RG:

1. Since the cryptlib is declared as a STM32Cube extension, I tried to install the zip over the Library Manager, which results in an invalid version error message (Cube version 4.17.0, Library version: 3.1.0). Is this extension even installable directly in STM Cube?

2. The AccHW HAL driver seems to identical with the files in the firmware directory of my MPU. Is the HW cryptlib extension even necessary for HAL?

3. In the includefiles ''STM32CubeExpansion_Crypto_V3.1.0\AccHw_Crypto\STM32F4\Middlewares\ST\STM32_Crypto_AccHw\Inc'' there are only algorithms that are not supported by the hardware acceleration of my MPU, for example RSA. So at this point the complete cryptlib stopped making sense to me...
Paresh Parekh
Visitor II
November 21, 2016
Posted on November 21, 2016 at 08:49

Hi Clive1

Thanks for the quick response, I got the key from www.pgpkeygem.com

In ST library if we want to pass private or public keys then key must be have two components Exponential and Modules.

How i can identify Exponential and Modules from the current keys.

Also here I attached both key generate from the above website.

Regards from

Paresh Parekh

________________

Attachments :

0xEE98F688-pub.asc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0AQ&d=%2Fa%2F0X0000000bg1%2FqU05PDia7IRZOMVTRGAuINSDJWy8gVNPNnxo42jktbU&asPdf=false

0xEE98F688-sec.asc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0wg&d=%2Fa%2F0X0000000bfx%2Fxoy6jQfWiFqYeiFV0G.nkxnbhtQuu4qRkKtAvu20Gcs&asPdf=false