Re: [PATCH v2] syscalls/keyctl09: test encrypted keys.

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

 





On 21/12/21 4:18 pm, Petr Vorel wrote:
Hi Nageswara,

On 21/12/21 8:07 am, Yael Tiomkin wrote:
Test that encrypted keys can be instantiated using
both user-provided decrypted data
(https://lore.kernel.org/linux-integrity/20211213192030.125091-1-yaelt@xxxxxxxxxx/),
or kernel-generated numbers.

Signed-off-by: Yael Tiomkin <yaelt@xxxxxxxxxx>

Tested on ppc64le platform

I suppose it also fails on ppc64le when run more iterations.


Tried with -i500, -i5000 and -i50000 also ... no failures were seen on ppc64le architecture.

Summary:
passed   500
failed   0

Summary:
passed   5000
failed   0

Summary:
passed   50000
failed   0


./keyctl09 -i500
keyctl09.c:49: TPASS: Encrypted keys were successfully instantiated and read
keyctl09.c:49: TPASS: Encrypted keys were successfully instantiated and read
...
keyctl09.c:33: TFAIL: Failed to instantiate encrypted key using payload decrypted data

(It's always good to put higher number iterations.)

Kind regards,
Petr

--
Thanks and Regards
R.Nageswara Sastry



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux