| 684b77de | 27-Oct-2025 |
Joachim Foerster <joachim.foerster@missinglinkelectronics.com> |
drivers: versal_net: pki: Add driver for Versal NET PKI Accelerator
The Versal NET variant comes with a dedicated PKI engine. This driver makes use of the engine for ECDSA P-256, P-384, and P-521 si
drivers: versal_net: pki: Add driver for Versal NET PKI Accelerator
The Versal NET variant comes with a dedicated PKI engine. This driver makes use of the engine for ECDSA P-256, P-384, and P-521 sign, verify and key generation operations.
Largely based on previous work by Jeremie Corbier <jeremie.corbier@provenrun.com>.
For now, this commit omits the previous work's direct (memory-mapped) use of one of the dedicated TRNG instances within the PKI Accelerator. Support for it is to be added later. Instead the regular system random number generator is used (=> crypto_rng_read()).
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com> Reviewed-by: Nathan Menhorn <nathan.menhorn@amd.com> Tested-by: Nathan Menhorn <nathan.menhorn@amd.com> Reviewed-by: Sean McGinn <sean.mcginn@amd.com> Reviewed-by: Lucas Kiker <lucas.kiker@amd.com> Reviewed-by: Sindhu Raveendra <Sindhu.Raveendra@amd.com> Reviewed-by: Clemens Nasenberg <clemens.nasenberg@amd.com> Reviewed-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
show more ...
|
| b065b2da | 19-Dec-2025 |
Joachim Foerster <joachim.foerster@missinglinkelectronics.com> |
drivers: versal_net: rsa: Add support for flavor-specific command RSA_PRIVATE_DECRYPT
In PLM Firmware release v2024.2 module XilSecure introduced a Versal NET specific variant of API id 0x503 (RSA_P
drivers: versal_net: rsa: Add support for flavor-specific command RSA_PRIVATE_DECRYPT
In PLM Firmware release v2024.2 module XilSecure introduced a Versal NET specific variant of API id 0x503 (RSA_PRIVATE_DECRYPT). In contrast to Versal, XilSecure's XSecure_RsaInParam::KeyAddr is pointing to the structure XSecure_RsaKeyParam instead of directly pointing to the buffer comprising exponent and modulus. XSecure_RsaKeyParam has separate members to point to exponent and modulus.
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com> Reviewed-by: Nathan Menhorn <nathan.menhorn@amd.com> Tested-by: Nathan Menhorn <nathan.menhorn@amd.com> Reviewed-by: Sean McGinn <sean.mcginn@amd.com> Reviewed-by: Lucas Kiker <lucas.kiker@amd.com> Reviewed-by: Sindhu Raveendra <Sindhu.Raveendra@amd.com> Reviewed-by: Clemens Nasenberg <clemens.nasenberg@amd.com> Reviewed-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
show more ...
|