> -----Original Message-----
> From: Kusztal, ArkadiuszX <[email protected]>
> Sent: Wednesday, February 2, 2022 6:50 AM
> To: [email protected]
> Cc: [email protected]; Zhang, Roy Fan <[email protected]>;
> [email protected]; Kusztal, ArkadiuszX <[email protected]>
> Subject: [PATCH 1/4] crypto: add dsa random number k
> 
> This commit adds random number 'k' to dsa
> op param struct.
> 
> Signed-off-by: Arek Kusztal <[email protected]>
> ---
>  lib/cryptodev/rte_crypto_asym.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/lib/cryptodev/rte_crypto_asym.h
> b/lib/cryptodev/rte_crypto_asym.h
> index 9c866f553f..e0def3d9ab 100644
> --- a/lib/cryptodev/rte_crypto_asym.h
> +++ b/lib/cryptodev/rte_crypto_asym.h
> @@ -547,6 +547,10 @@ struct rte_crypto_dsa_op_param {
>       /**< Signature Generation or Verification */
>       rte_crypto_param message;
>       /**< input message to be signed or verified */
> +     rte_crypto_param k;
> +     /**< Per-message secret number, which is an integer
> +      * in the interval (1, q-1)
> +      */
>       rte_crypto_param r;
>       /**< dsa sign component 'r' value
>        *
> --
> 2.13.6
Acked-by: Fan Zhang <[email protected]>

Reply via email to