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.

AM263P4: Asymmetric cryptographic drivers available to r5f core

Part Number: AM263P4

Hi,

I’m developing a cryptographic library for an application running on the AM263P4, and I’d like to support AES, RSA, SHA, and RNG functionality.

From what I can tell:

  • There are existing AES and SHA drivers under the DTHE (Data Transform and Hashing Engine).

  • Random number generation can be accessed via the HSM Client drivers (Get Random Number service).

  • However, I haven’t found any RSA or other asymmetric cryptography driver that’s accessible to code running on the R5F core.

It looks like the HSM does have access to the Public Key Accelerator (PKA), which it uses internally for certificate and image validation.

In the AM263P4 SDK documentation, I found this note:

Note: True Random Number Generation (TRNG) and PKA (Public Key Accelerator) are not supported from R5F on HS-SE/HS-FS devices as these are secure assets and are locked for HSM. TRNG and PKA are single-context engines and hence are secure assets on HS-SE/HS-FS devices.

Given that, I wanted to confirm:

  1. Is there any asymmetric cryptography driver (e.g. for RSA or ECC) available to code executing on the R5F core?
  2. Or is the intent that all public-key operations must be handled exclusively by the HSM?

Thanks