NVIDIA Tegra
NVIDIA DRIVE OS 5.1 Linux SDK

Developer Guide
5.1.6.0 Release


 
Crypto Interface
SE hardware module functionality is implemented in SE Server and the interface to the SE Server is implemented in the Virtual SE driver (tegra-hv-vse driver). SE hardware crypto functionality can be accessed using the standard Linux interfaces:
https://www.kernel.org/doc/html/v4.11/crypto/
The standard Linux kernel interface for crypto is crypto API. This includes RNG support as well. For more information, see:
https://www.kernel.org/doc/html/v4.11/crypto/api-rng.html
Sample code provided by the kernel to verify the crypto is available at:
https://www.kernel.org/doc/html/v4.11/crypto/api-samples.html
Sample code provided by the kernel to verify that RNG is available at:
https://www.kernel.org/doc/html/v4.11/crypto/api-samples.html#code-example-for-random-number-generator-usage
 
Note:
In the above example, “alg name” to be passed is "rng1-elp-tegra" or "rng1_trng" to crypto_alloc_rng for TRNG..
 
Refer to the SE Server documentation in the NVIDIA DRIVE 5.0 Foundation sdk for the functionality exposed by SE Server.