[dpdk-dev] [EXT] [PATCH v3 07/11] openssl: remove RSA PKCS1_5 BT0 padding
Shally Verma
shallyv at marvell.com
Wed Jul 17 12:18:20 CEST 2019
> -----Original Message-----
> From: Arek Kusztal <arkadiuszx.kusztal at intel.com>
> Sent: Wednesday, July 17, 2019 12:23 AM
> To: dev at dpdk.org
> Cc: akhil.goyal at nxp.com; fiona.trahe at intel.com; Shally Verma
> <shallyv at marvell.com>; Arek Kusztal <arkadiuszx.kusztal at intel.com>
> Subject: [EXT] [PATCH v3 07/11] openssl: remove RSA PKCS1_5 BT0 padding
>
> External Email
>
> ----------------------------------------------------------------------
> This patch removes RSA PKCS1_5 BT0 padding from openssl PMD.
>
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Acked-by: Shally Verma <shallyv at marvell.com>
> ---
> drivers/crypto/openssl/rte_openssl_pmd.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c
> b/drivers/crypto/openssl/rte_openssl_pmd.c
> index 71ae320..2f55528 100644
> --- a/drivers/crypto/openssl/rte_openssl_pmd.c
> +++ b/drivers/crypto/openssl/rte_openssl_pmd.c
> @@ -1848,9 +1848,7 @@ process_openssl_rsa_op(struct rte_crypto_op
> *cop,
> cop->status = RTE_CRYPTO_OP_STATUS_SUCCESS;
>
> switch (pad) {
> - case RTE_CRYPTO_RSA_PKCS1_V1_5_BT0:
> - case RTE_CRYPTO_RSA_PKCS1_V1_5_BT1:
> - case RTE_CRYPTO_RSA_PKCS1_V1_5_BT2:
> + case RTE_CRYPTO_RSA_PADDING_PKCS1_5:
> pad = RSA_PKCS1_PADDING;
> break;
> case RTE_CRYPTO_RSA_PADDING_NONE:
> --
> 2.1.0
More information about the dev
mailing list