mbox series

[0/2] support SSL/TLS way of cipher-auth operations

Message ID 20201218141016.1834-1-ktejasree@marvell.com (mailing list archive)
Headers show
Series support SSL/TLS way of cipher-auth operations | expand

Message

Tejasree Kondoj Dec. 18, 2020, 2:10 p.m. UTC
This series adds SSL/TLS way of cipher-auth operations support i.e. auth
generation followed by encryption and decryption followed by auth verify in
OCTEON TX, OCTEON TX2 PMDs and sample unit test application.

Tejasree Kondoj (2):
  common/cpt: support SSL/TLS way of cipher-auth operations
  test/crypto: support SSL/TLS way of cipher-auth operations

 app/test/test_cryptodev_aes_test_vectors.h    | 576 ++++++++++++++++++
 app/test/test_cryptodev_blockcipher.c         |  98 ++-
 app/test/test_cryptodev_blockcipher.h         |   9 +
 doc/guides/rel_notes/release_21_02.rst        |  12 +
 drivers/common/cpt/cpt_mcode_defines.h        |   7 +-
 drivers/common/cpt/cpt_ucode.h                |  42 +-
 drivers/crypto/octeontx/otx_cryptodev_ops.c   |   8 +-
 drivers/crypto/octeontx2/otx2_cryptodev_ops.c |   8 +-
 8 files changed, 736 insertions(+), 24 deletions(-)

Comments

Anoob Joseph Jan. 15, 2021, 5:31 a.m. UTC | #1
> 
> This series adds SSL/TLS way of cipher-auth operations support i.e. auth
> generation followed by encryption and decryption followed by auth verify in
> OCTEON TX, OCTEON TX2 PMDs and sample unit test application.
> 
> Tejasree Kondoj (2):
>   common/cpt: support SSL/TLS way of cipher-auth operations
>   test/crypto: support SSL/TLS way of cipher-auth operations
> 
>  app/test/test_cryptodev_aes_test_vectors.h    | 576
> ++++++++++++++++++
>  app/test/test_cryptodev_blockcipher.c         |  98 ++-
>  app/test/test_cryptodev_blockcipher.h         |   9 +
>  doc/guides/rel_notes/release_21_02.rst        |  12 +
>  drivers/common/cpt/cpt_mcode_defines.h        |   7 +-
>  drivers/common/cpt/cpt_ucode.h                |  42 +-
>  drivers/crypto/octeontx/otx_cryptodev_ops.c   |   8 +-
>  drivers/crypto/octeontx2/otx2_cryptodev_ops.c |   8 +-
>  8 files changed, 736 insertions(+), 24 deletions(-)
> 

Series Acked-by: Anoob Joseph <anoobj@marvell.com>
Tejasree Kondoj Jan. 21, 2021, 7:26 a.m. UTC | #2
Hi Akhil,

I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER) 
along with SSL test cases movement to chain array in v2. Would that be fine?
Feature flag is needed to skip SSL test cases if device doesn't support them.

Thanks
Tejasree

> -----Original Message-----
> From: Tejasree Kondoj <ktejasree@marvell.com>
> Sent: Friday, December 18, 2020 7:40 PM
> To: Akhil Goyal <akhil.goyal@nxp.com>; Radu Nicolau
> <radu.nicolau@intel.com>
> Cc: Tejasree Kondoj <ktejasree@marvell.com>; Anoob Joseph
> <anoobj@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>;
> dev@dpdk.org
> Subject: [PATCH 0/2] support SSL/TLS way of cipher-auth operations
> 
> This series adds SSL/TLS way of cipher-auth operations support i.e. auth
> generation followed by encryption and decryption followed by auth verify in
> OCTEON TX, OCTEON TX2 PMDs and sample unit test application.
> 
> Tejasree Kondoj (2):
>   common/cpt: support SSL/TLS way of cipher-auth operations
>   test/crypto: support SSL/TLS way of cipher-auth operations
> 
>  app/test/test_cryptodev_aes_test_vectors.h    | 576 ++++++++++++++++++
>  app/test/test_cryptodev_blockcipher.c         |  98 ++-
>  app/test/test_cryptodev_blockcipher.h         |   9 +
>  doc/guides/rel_notes/release_21_02.rst        |  12 +
>  drivers/common/cpt/cpt_mcode_defines.h        |   7 +-
>  drivers/common/cpt/cpt_ucode.h                |  42 +-
>  drivers/crypto/octeontx/otx_cryptodev_ops.c   |   8 +-
>  drivers/crypto/octeontx2/otx2_cryptodev_ops.c |   8 +-
>  8 files changed, 736 insertions(+), 24 deletions(-)
> 
> --
> 2.27.0
Akhil Goyal Jan. 25, 2021, 4:56 p.m. UTC | #3
Hi Tejasree,

Sorry I missed this mail earlier. I believe it is same as Digest encrypted case.

> -----Original Message-----
> From: Tejasree Kondoj <ktejasree@marvell.com>
> Sent: Thursday, January 21, 2021 12:57 PM
> To: Tejasree Kondoj <ktejasree@marvell.com>; Akhil Goyal
> <akhil.goyal@nxp.com>; Radu Nicolau <radu.nicolau@intel.com>
> Cc: Anoob Joseph <anoobj@marvell.com>; Ankur Dwivedi
> <adwivedi@marvell.com>; dev@dpdk.org; Zhang, Roy Fan
> <roy.fan.zhang@intel.com>; Trahe, Fiona <fiona.trahe@intel.com>
> Subject: RE: [PATCH 0/2] support SSL/TLS way of cipher-auth operations
> 
> Hi Akhil,
> 
> I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER)
> along with SSL test cases movement to chain array in v2. Would that be fine?
> Feature flag is needed to skip SSL test cases if device doesn't support them.
> 
> Thanks
> Tejasree
> 
> > -----Original Message-----
> > From: Tejasree Kondoj <ktejasree@marvell.com>
> > Sent: Friday, December 18, 2020 7:40 PM
> > To: Akhil Goyal <akhil.goyal@nxp.com>; Radu Nicolau
> > <radu.nicolau@intel.com>
> > Cc: Tejasree Kondoj <ktejasree@marvell.com>; Anoob Joseph
> > <anoobj@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>;
> > dev@dpdk.org
> > Subject: [PATCH 0/2] support SSL/TLS way of cipher-auth operations
> >
> > This series adds SSL/TLS way of cipher-auth operations support i.e. auth
> > generation followed by encryption and decryption followed by auth verify in
> > OCTEON TX, OCTEON TX2 PMDs and sample unit test application.
> >
> > Tejasree Kondoj (2):
> >   common/cpt: support SSL/TLS way of cipher-auth operations
> >   test/crypto: support SSL/TLS way of cipher-auth operations
> >
> >  app/test/test_cryptodev_aes_test_vectors.h    | 576 ++++++++++++++++++
> >  app/test/test_cryptodev_blockcipher.c         |  98 ++-
> >  app/test/test_cryptodev_blockcipher.h         |   9 +
> >  doc/guides/rel_notes/release_21_02.rst        |  12 +
> >  drivers/common/cpt/cpt_mcode_defines.h        |   7 +-
> >  drivers/common/cpt/cpt_ucode.h                |  42 +-
> >  drivers/crypto/octeontx/otx_cryptodev_ops.c   |   8 +-
> >  drivers/crypto/octeontx2/otx2_cryptodev_ops.c |   8 +-
> >  8 files changed, 736 insertions(+), 24 deletions(-)
> >
> > --
> > 2.27.0
Tejasree Kondoj Jan. 27, 2021, noon UTC | #4
Hi Akhil,

Okay. Will use FF_DIGEST_ENCRYPTED flag instead of FF_SSL_ORDER.

Thanks
Tejasree

> -----Original Message-----
> From: Akhil Goyal <akhil.goyal@nxp.com>
> Sent: Monday, January 25, 2021 10:27 PM
> To: Tejasree Kondoj <ktejasree@marvell.com>; Radu Nicolau
> <radu.nicolau@intel.com>
> Cc: Anoob Joseph <anoobj@marvell.com>; Ankur Dwivedi
> <adwivedi@marvell.com>; dev@dpdk.org; Zhang, Roy Fan
> <roy.fan.zhang@intel.com>; Trahe, Fiona <fiona.trahe@intel.com>
> Subject: [EXT] RE: [PATCH 0/2] support SSL/TLS way of cipher-auth operations
> 
> External Email
> 
> ----------------------------------------------------------------------
> Hi Tejasree,
> 
> Sorry I missed this mail earlier. I believe it is same as Digest encrypted case.
> 
> > -----Original Message-----
> > From: Tejasree Kondoj <ktejasree@marvell.com>
> > Sent: Thursday, January 21, 2021 12:57 PM
> > To: Tejasree Kondoj <ktejasree@marvell.com>; Akhil Goyal
> > <akhil.goyal@nxp.com>; Radu Nicolau <radu.nicolau@intel.com>
> > Cc: Anoob Joseph <anoobj@marvell.com>; Ankur Dwivedi
> > <adwivedi@marvell.com>; dev@dpdk.org; Zhang, Roy Fan
> > <roy.fan.zhang@intel.com>; Trahe, Fiona <fiona.trahe@intel.com>
> > Subject: RE: [PATCH 0/2] support SSL/TLS way of cipher-auth operations
> >
> > Hi Akhil,
> >
> > I'm planning to add device feature flag(RTE_CRYPTODEV_FF_SSL_ORDER)
> > along with SSL test cases movement to chain array in v2. Would that be
> fine?
> > Feature flag is needed to skip SSL test cases if device doesn't support them.
> >
> > Thanks
> > Tejasree
> >
> > > -----Original Message-----
> > > From: Tejasree Kondoj <ktejasree@marvell.com>
> > > Sent: Friday, December 18, 2020 7:40 PM
> > > To: Akhil Goyal <akhil.goyal@nxp.com>; Radu Nicolau
> > > <radu.nicolau@intel.com>
> > > Cc: Tejasree Kondoj <ktejasree@marvell.com>; Anoob Joseph
> > > <anoobj@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>;
> > > dev@dpdk.org
> > > Subject: [PATCH 0/2] support SSL/TLS way of cipher-auth operations
> > >
> > > This series adds SSL/TLS way of cipher-auth operations support i.e.
> > > auth generation followed by encryption and decryption followed by
> > > auth verify in OCTEON TX, OCTEON TX2 PMDs and sample unit test
> application.
> > >
> > > Tejasree Kondoj (2):
> > >   common/cpt: support SSL/TLS way of cipher-auth operations
> > >   test/crypto: support SSL/TLS way of cipher-auth operations
> > >
> > >  app/test/test_cryptodev_aes_test_vectors.h    | 576
> ++++++++++++++++++
> > >  app/test/test_cryptodev_blockcipher.c         |  98 ++-
> > >  app/test/test_cryptodev_blockcipher.h         |   9 +
> > >  doc/guides/rel_notes/release_21_02.rst        |  12 +
> > >  drivers/common/cpt/cpt_mcode_defines.h        |   7 +-
> > >  drivers/common/cpt/cpt_ucode.h                |  42 +-
> > >  drivers/crypto/octeontx/otx_cryptodev_ops.c   |   8 +-
> > >  drivers/crypto/octeontx2/otx2_cryptodev_ops.c |   8 +-
> > >  8 files changed, 736 insertions(+), 24 deletions(-)
> > >
> > > --
> > > 2.27.0