Re: [PATCH v2 2/5] KVM: s390: selftests: Add regression tests for PRNO, KDSA and KMA crypto subfunctions

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

 



On Tue Aug 20, 2024 at 8:48 AM CEST, Hariharan Mari wrote:
> Extend the existing regression test framework for s390x CPU subfunctions
> to include tests for the PRNO (Perform Random Number Operation), KDSA
> (Compute Digital Signature Authentication) and KMA (Cipher Message with
> Authentication) crypto functions.
>
> The test procedure follows the established pattern:
>
> 1. Obtain KVM_S390_VM_CPU_MACHINE_SUBFUNC attribute for the VM.
> 2. Execute PRNO, KDSA and KMA instructions.
> 3. Compare KVM-reported results with direct instruction execution results.
>
> Suggested-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
> Signed-off-by: Hariharan Mari <hari55@xxxxxxxxxxxxx>
> Reviewed-by: Janosch Frank <frankja@xxxxxxxxxxxxx>

LGTM

Reviewed-by: Christoph Schlameuss <schlameuss@xxxxxxxxxxxxx>

> ---
>  .../kvm/s390x/cpumodel_subfuncs_test.c        | 51 +++++++++++++++++++
>  1 file changed, 51 insertions(+)

[...]





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux