[LTP] [PATCH v2] syscalls/keyctl09: test encrypted keys.
Nageswara Sastry
rnsastry@linux.ibm.com
Wed Dec 22 06:11:19 CET 2021
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@google.com/),
>>> or kernel-generated numbers.
>
>>> Signed-off-by: Yael Tiomkin <yaelt@google.com>
>
>> 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
More information about the ltp
mailing list