Subject: CAVS test implementation

Hi All,

We are in the process of implementing
KAT - known answer test
MMT - Multi-block Message Test
MCT - Monte Carlo Test
KAS FFC - Key Agreement Scheme, Finite Field Cryptography
KAS ECC - Elliptic Curve Cryptography

Our approach to implement the testing is via writing a kernel character driver module to pass the test vectors to kernel. Once vectors are processed read the result from kernel. There are synchronous and asynchronous kernel APIs.
Can any one provide inputs on which set of API will suite better for us?

Regards,
Jaya


2019-07-22 23:19:48

by Stephan Müller

[permalink] [raw]
Subject: Re: CAVS test implementation

Am Montag, 22. Juli 2019, 20:07:05 CEST schrieb Bhat, Jayalakshmi Manjunath:

Hi Jayalakshmi,

> Hi All,
>
> We are in the process of implementing
> KAT - known answer test
> MMT - Multi-block Message Test
> MCT - Monte Carlo Test
> KAS FFC - Key Agreement Scheme, Finite Field Cryptography
> KAS ECC - Elliptic Curve Cryptography
>
> Our approach to implement the testing is via writing a kernel character
> driver module to pass the test vectors to kernel. Once vectors are
> processed read the result from kernel. There are synchronous and
> asynchronous kernel APIs. Can any one provide inputs on which set of API
> will suite better for us?

If you want to test all aspects and all implementations, you should use the
async API.

>
> Regards,
> Jaya



Ciao
Stephan