This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2431: SHA384 support in SA2_UL

Part Number: AM2431

Is SHA384 supported in the SA2_UL crypto accelerator? It isn't mentioned here (https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/SECURITY_SA2UL_MODULE_PAGE.html) but in the SDK (security/crypto/sa2ul/sa2ul.c), there are references to SHA384. If SHA384 isn't supported, is there a way to invoke SHA512 with the SHA384 initial values and then truncate it as per the standard (https://crypto.stackexchange.com/questions/75575/why-might-sha-384-throughput-be-lower-than-sha-512-throughput-in-hashcat-and-mor) or are the SH512 initial values hard-coded? Thanks in advance for your help.

  • Hi ,

    It seems like the SDK documentation missed the feature set. Although the I will raise an ticket to make sure this is captured correctly.

    You can refer to K3 Processors Security Accelerator Cryptographic Addendum for the same. This will be available in My Secure SW.

    I agree the feature is not yet available in SDK as well. The documentation mentioned above can help you configure SHA2-384 as well.

    are the SH512 initial values hard-coded?

    I think the HW will initialize the values based on the protocol itself.

    Best Regards,
    Aakash