* [dpdk-dev] [PATCH] openssl: fix bad reference of modinv
@ 2019-02-05 9:13 Arek Kusztal
2019-02-05 16:54 ` Trahe, Fiona
2019-02-06 5:11 ` [dpdk-dev] [EXT] " Shally Verma
0 siblings, 2 replies; 4+ messages in thread
From: Arek Kusztal @ 2019-02-05 9:13 UTC (permalink / raw)
To: dev; +Cc: sunila.sahu, akhil.goyal, shally.verma, ashish.gupta, Arek Kusztal
Fixes bad reference of modinv struct in openssl pmd
Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations")
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
drivers/crypto/openssl/rte_openssl_pmd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c
index ea5aac6..0230050 100644
--- a/drivers/crypto/openssl/rte_openssl_pmd.c
+++ b/drivers/crypto/openssl/rte_openssl_pmd.c
@@ -1814,12 +1814,12 @@ process_openssl_modexp_op(struct rte_crypto_op *cop,
return -1;
}
- base = BN_bin2bn((const unsigned char *)op->modinv.base.data,
- op->modinv.base.length, base);
+ base = BN_bin2bn((const unsigned char *)op->modex.base.data,
+ op->modex.base.length, base);
if (BN_mod_exp(res, base, sess->u.e.exp,
sess->u.e.mod, sess->u.e.ctx)) {
- op->modinv.base.length = BN_bn2bin(res, op->modinv.base.data);
+ op->modex.base.length = BN_bn2bin(res, op->modex.base.data);
cop->status = RTE_CRYPTO_OP_STATUS_SUCCESS;
} else {
cop->status = RTE_CRYPTO_OP_STATUS_ERROR;
--
2.1.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] openssl: fix bad reference of modinv
2019-02-05 9:13 [dpdk-dev] [PATCH] openssl: fix bad reference of modinv Arek Kusztal
@ 2019-02-05 16:54 ` Trahe, Fiona
2019-03-06 16:41 ` Akhil Goyal
2019-02-06 5:11 ` [dpdk-dev] [EXT] " Shally Verma
1 sibling, 1 reply; 4+ messages in thread
From: Trahe, Fiona @ 2019-02-05 16:54 UTC (permalink / raw)
To: Kusztal, ArkadiuszX, dev
Cc: sunila.sahu, akhil.goyal, shally.verma, ashish.gupta, Kusztal,
ArkadiuszX, stable, Trahe, Fiona
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Arek Kusztal
> Sent: Tuesday, February 5, 2019 9:13 AM
> To: dev@dpdk.org
> Cc: sunila.sahu@caviumnetworks.com; akhil.goyal@nxp.com; shally.verma@caviumnetworks.com;
> ashish.gupta@caviumnetworks.com; Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>
> Subject: [dpdk-dev] [PATCH] openssl: fix bad reference of modinv
>
> Fixes bad reference of modinv struct in openssl pmd
>
> Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations")
>
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Also cc'ed stable@dpdk.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [EXT] [PATCH] openssl: fix bad reference of modinv
2019-02-05 9:13 [dpdk-dev] [PATCH] openssl: fix bad reference of modinv Arek Kusztal
2019-02-05 16:54 ` Trahe, Fiona
@ 2019-02-06 5:11 ` Shally Verma
1 sibling, 0 replies; 4+ messages in thread
From: Shally Verma @ 2019-02-06 5:11 UTC (permalink / raw)
To: Arek Kusztal, dev; +Cc: sunila.sahu, akhil.goyal, ashish.gupta
>-----Original Message-----
>From: dev <dev-bounces@dpdk.org> On Behalf Of Arek Kusztal
>Sent: 05 February 2019 14:43
>To: dev@dpdk.org
>Cc: sunila.sahu@caviumnetworks.com; akhil.goyal@nxp.com; shally.verma@caviumnetworks.com;
>ashish.gupta@caviumnetworks.com; Arek Kusztal <arkadiuszx.kusztal@intel.com>
>Subject: [EXT] [dpdk-dev] [PATCH] openssl: fix bad reference of modinv
>
>External Email
>
>----------------------------------------------------------------------
>Fixes bad reference of modinv struct in openssl pmd
>
>Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations")
>
>Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
>---
> drivers/crypto/openssl/rte_openssl_pmd.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Acked-by: Shally Verma <shally.verma@marvell.com>
Thanks
Shally
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] openssl: fix bad reference of modinv
2019-02-05 16:54 ` Trahe, Fiona
@ 2019-03-06 16:41 ` Akhil Goyal
0 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2019-03-06 16:41 UTC (permalink / raw)
To: Trahe, Fiona, Kusztal, ArkadiuszX, dev
Cc: sunila.sahu, shally.verma, ashish.gupta, stable
On 2/5/2019 10:24 PM, Trahe, Fiona wrote:
>
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Arek Kusztal
>> Sent: Tuesday, February 5, 2019 9:13 AM
>> To: dev@dpdk.org
>> Cc: sunila.sahu@caviumnetworks.com; akhil.goyal@nxp.com; shally.verma@caviumnetworks.com;
>> ashish.gupta@caviumnetworks.com; Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>
>> Subject: [dpdk-dev] [PATCH] openssl: fix bad reference of modinv
>>
>> Fixes bad reference of modinv struct in openssl pmd
>>
>> Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations")
>>
>> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
> Also cc'ed stable@dpdk.org
>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-06 16:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-05 9:13 [dpdk-dev] [PATCH] openssl: fix bad reference of modinv Arek Kusztal
2019-02-05 16:54 ` Trahe, Fiona
2019-03-06 16:41 ` Akhil Goyal
2019-02-06 5:11 ` [dpdk-dev] [EXT] " Shally Verma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).