[SRU][F:linux-bluefield][PATCH 0/1] UBUNTU: SAUCE: pka: Test TRNG block before making it available

Mahantesh Salimath mahantesh at nvidia.com
Thu Apr 22 17:17:58 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1925514

SRU Justification:

[Impact]
* TRNG block in PKA HW may not be functioning as expected,
without carrying out tests there is no way to verify its functionality.
These tests are carried out early in the boot stage during ATF (ARM Trusted Firmware),
carry out these tests again while loading PKA linux driver.

[Fix]
* Add tests to verify TRNG "pka: Test TRNG block before making it available"

[Test Case]
* Derive random bytes from TRNG in PKA HW via OpenSSL using 'pka' engine.
Ex:# openssl rand -engine pka 512.

[Regression Potential]
* If the any of the tests fail then TRNG will be disabled.
Hence random bytes cannot be derived from PKA HW.



More information about the kernel-team mailing list