> -----Original Message-----
> From: Arek Kusztal <arkadiuszx.kusz...@intel.com>
> Sent: Wednesday, July 17, 2019 12:23 AM
> To: dev@dpdk.org
> Cc: akhil.go...@nxp.com; fiona.tr...@intel.com; Shally Verma
> <shal...@marvell.com>; Arek Kusztal <arkadiuszx.kusz...@intel.com>
> Subject: [EXT] [PATCH v3 06/11] cryptodev: remove RSA PKCS1 BT0 padding
> 
> External Email
> 
> ----------------------------------------------------------------------
> BT0 block type padding after rfc2313 has been discontinued.
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusz...@intel.com>
Acked-by: Shally Verma <shal...@marvell.com>

> ---
>  lib/librte_cryptodev/rte_crypto_asym.h | 14 +++-----------
>  1 file changed, 3 insertions(+), 11 deletions(-)
> 
> diff --git a/lib/librte_cryptodev/rte_crypto_asym.h
> b/lib/librte_cryptodev/rte_crypto_asym.h
> index ad484de..5026042 100644
> --- a/lib/librte_cryptodev/rte_crypto_asym.h
> +++ b/lib/librte_cryptodev/rte_crypto_asym.h
> @@ -112,17 +112,9 @@ enum rte_crypto_asym_op_type {  enum
> rte_crypto_rsa_padding_type {
>       RTE_CRYPTO_RSA_PADDING_NONE = 0,
>       /**< RSA no padding scheme */
> -     RTE_CRYPTO_RSA_PKCS1_V1_5_BT0,
> -     /**< RSA PKCS#1 V1.5 Block Type 0 padding scheme
> -      * as described in rfc2313
> -      */
> -     RTE_CRYPTO_RSA_PKCS1_V1_5_BT1,
> -     /**< RSA PKCS#1 V1.5 Block Type 01 padding scheme
> -      * as described in rfc2313
> -      */
> -     RTE_CRYPTO_RSA_PKCS1_V1_5_BT2,
> -     /**< RSA PKCS#1 V1.5 Block Type 02 padding scheme
> -      * as described in rfc2313
> +     RTE_CRYPTO_RSA_PADDING_PKCS1_5,
> +     /**< RSA PKCS#1 PKCS1-v1_5 padding scheme. For signatures block
> type 01,
> +      * for encryption block type 02 are used.
>        */
>       RTE_CRYPTO_RSA_PADDING_OAEP,
>       /**< RSA PKCS#1 OAEP padding scheme */
> --
> 2.1.0

Reply via email to