Skip to main content
bainorama
Associate
September 15, 2014
Question

Do the STM32F427/F429 have a cryptographic processor module?

  • September 15, 2014
  • 5 replies
  • 1068 views
Posted on September 15, 2014 at 22:07

The datasheets for the STM32F427/429 make no mention of the crytpographic module, but the reference manual, in the CRYPT section, states ''This section applies to the whole STM32F4xx family devices, unless otherwise specified'' and I could not see any mention of these parts being excluded. It seems like the main difference between the F427 and F437 is the inclusion of this module, is this correct?

    This topic has been closed for replies.

    5 replies

    Tesla DeLorean
    Guru
    September 15, 2014
    Posted on September 15, 2014 at 23:11

    This was certainly poorly communicated at one of the seminars I attended. It was suggested the F429 has cryptographic functions, which I suspect it does not as this would create an import/export nightmare. My understanding is the F437/F439 have it, the F429 does not.

    RCC->AHB2ENR |= RCC_AHB2Periph_CRYP | RCC_AHB2Periph_HASH | RCC_AHB2Periph_RNG;
    if (RCC->AHB2ENR & RCC_AHB2Periph_CRYP)
    puts(''Crypto Unit Present'');
    if (RCC->AHB2ENR & RCC_AHB2Periph_HASH)
    puts(''Hashing Unit Present'');
    if (RCC->AHB2ENR & RCC_AHB2Periph_RNG)
    puts(''Random Number Generator Unit Present'');

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    September 16, 2014
    Posted on September 16, 2014 at 09:48

    I'd say, the respective datasheet(s) is the authoritative information source.

    JW

    bainorama
    bainoramaAuthor
    Associate
    September 16, 2014
    Posted on September 16, 2014 at 21:16

    Well the datasheet doesn't say that it doesn't have one, just makes no mention of it. The reference manual explicity refers to STM32F42xxx devices, e.g. in the Cryptographic Processor section:

    Supports the ECB, CBC, CTR, CCM and GCM chaining algorithms (CCM and

     

    GCM are available on STM32F42xxx and STM32F43xxx only

    Since the STM32F42XXX range consists of only two parts (427 and 429), then I'm not sure what the reference manual is talking about if these parts don't have it.

    bainorama
    bainoramaAuthor
    Associate
    September 16, 2014
    Posted on September 16, 2014 at 21:17

    Thanks, but I don't have one on hand to try.

    Tesla DeLorean
    Guru
    September 16, 2014
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..