[dpdk-dev] [PATCH 2/2] test/crypto: support SSL/TLS way of cipher-auth operations

Zhang, Roy Fan roy.fan.zhang at intel.com
Wed Jan 20 13:51:18 CET 2021


Hi Akhil and Tejasree,

Yes it failed at RAW API tests

RTE>>cryptodev_qat_raw_api_autotest
...
  49) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest(SSL/TLS order) line 619 FAILED: Crypto data not as expected
  50) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest Scatter Gather (SSL/TLS order) line 619 FAILED: Crypto data not as expected
  51) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest (short buffers) (SSL/TLS order) line 619 FAILED: Crypto data not as expected
  52) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest Scatter Gather (SSL/TLS order) line 619 FAILED: Crypto data not as expected
Device doesn't support sessionless operations Test Skipped.
  53) TestCase AES-192-CBC HMAC-SHA1 Encryption Digest Sessionless (SSL/TLS order) SKIPPED
Device doesn't support sessionless operations Test Skipped.
  54) TestCase AES-256-CBC HMAC-SHA1 Encryption Digest Scatter Gather Sessionless (SSL/TLS order) SKIPPED
  55) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify (SSL/TLS order) line 591 FAILED: Operation failed (0x5)
  56) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify Scatter Gather (SSL/TLS order) line 591 FAILED: Operation failed (0x5)
  57) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify (short buffers) (SSL/TLS order) line 591 FAILED: Operation failed (0x5)
  58) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify Scatter Gather (SSL/TLS order) line 591 FAILED: Operation failed (0x5)
Device doesn't support sessionless operations Test Skipped.
  59) TestCase AES-256-CBC HMAC-SHA1 Decryption Digest Verify Sessionless (SSL/TLS order) SKIPPED
Device doesn't support sessionless operations Test Skipped.
  60) TestCase AES-192-CBC HMAC-SHA1 Decryption Digest Verify Scatter Gather Sessionless (SSL/TLS order) SKIPPED
Device doesn't support sessionless operations Test Skipped.
  61) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify Sessionless (SSL/TLS order) SKIPPED
EAL: Test assert test_blockcipher line 1937 failed: Test failed
 + TestCase [ 8] : test_AES_cipheronly_all failed

Looks like the " AES-128-CBC HMAC-SHA1 * (SSL/TLS order)" tests are in the wrong place as this is a cipher only test sub-suite but you are testing chained operation.

Regards,
Fan

> -----Original Message-----
> From: Akhil Goyal <akhil.goyal at nxp.com>
> Sent: Tuesday, January 19, 2021 5:01 PM
> To: Tejasree Kondoj <ktejasree at marvell.com>; Nicolau, Radu
> <radu.nicolau at intel.com>; Trahe, Fiona <fiona.trahe at intel.com>; Zhang,
> Roy Fan <roy.fan.zhang at intel.com>
> Cc: Anoob Joseph <anoobj at marvell.com>; Ankur Dwivedi
> <adwivedi at marvell.com>; dev at dpdk.org
> Subject: RE: [PATCH 2/2] test/crypto: support SSL/TLS way of cipher-auth
> operations
> 
> Hi Tejasree,
> 
> > Subject: [PATCH 2/2] test/crypto: support SSL/TLS way of cipher-auth
> operations
> >
> > Adding support for SSL/TLS way of cipher-auth operations order
> >     - auth generation followed by encryption
> >     - decryption followed by auth verify
> >
> > Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
> > ---
> 
> With this patch the following existing case is failing on NXP platforms. Please
> check.
> 
>   10) TestCase AES-128-CBC HMAC-SHA1 Encryption Digest Scatter Gather line
> 634 FAILED: Generated digest data not as expected
> 
> Fiona/Fan,
> Could you please check this patch on intel platform?
> 
> Regards,
> Akhil
> 



More information about the dev mailing list