Re: [PATCH] selftests/x86: Generate an RSA key on fly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 19, 2020 at 04:33:06AM +0200, Jarkko Sakkinen wrote:
> Modify the signing tool to generate an RSA key on fly because that is
> require for the selftest.
> 
> Cc: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

The bigger idea is to combine sgxsign and the test program. The enclave
can be measured and sigstruct can be calculated in the exact same loop.

After this change has been merged it is somewhat trivial change to do.

This results way way more robust test program (e.g. easy to generate
dynamically enclaves of different sizes).

/Jarkko



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux