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:
The standard Linux kernel interface for crypto is crypto API. This includes RNG support as well. For more information, see:
Sample code provided by the kernel to verify the crypto is available at:
Sample code provided by the kernel to verify that RNG is available at:
 
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.