Tested-by: Yong Liu
- Tested Branch: dpdk-next-crypto/master
- Tested Commit: 3e329d659b62097d15ec86ff92acc8effaf28cd2
- OS: Fedora20 3.11.10-301.fc20.x86_64
- GCC: gcc version 4.8.3 20140911
- CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
- NIC: Intel Corporation Device Fortville [8086:1583]
- QAT: Intel Corporation Coleto Creek PCIe Endpoint [8086:0435]
- Default x86_64-native-linuxapp-gcc configuration
- Prerequisites:
- Total 2 cases, 2 passed, 0 failed
- Prerequisites command / instruction:
Enable CONFIG_RTE_LIBRTE_PMD_QAT in config/common_base and rebuild dpdk
Bind QAT VF devices to igb_uio
- Case:
Description: SHA224_HMAC authentication unit test
Command / instruction:
Start test application with normal eal parameter.
./$RTE_TARGET/app/test -c f -n 4 -- -i
Run crypto QAT unit test suite and verify SHA224_HMAC cases passed
- Case:
Description: l2fwd_crypto with SHA224_HMAC authentication test
Command / instruction:
Start l2fwd_crypto with QAT technology enable.
Authentication method is SHA224_HMAC, auth key is also inputted in.
Authentication key length for SHA224_HMAC should be 64 bytes.
./examples/l2fwd-crypto/build/app/l2fwd-crypto -c0xf -n4 -- -p0x1 \
--chain HASH_ONLY --cdev_type ANY --auth_algo SHA224_HMAC \
--auth_op GENERATE --auth_key $auth_key
Send 65 packets with random 64 bytes payload and capture forwarded packets.
Check all forwarded packets contained of 28 bytes hashed value.
Check hash values are same as automatic calculated value.
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain
> Sent: Friday, September 16, 2016 12:27 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Jain, Deepak K
> Subject: [dpdk-dev] [PATCH v3 0/2] add aes-sha224-hmac support to Intel
> QAT driver
>
> This patchset adds support of aes-sha224-hmac in Intel(R) QuickAssist
> Technology driver.
>
> This patchset depends on following patchset:
> "crypto/qat: add MD5 HMAC capability to Intel QAT driver"
> (http://dpdk.org/dev/patchwork/patch/15754/)
>
> Jain, Deepak K (2):
> crypto/qat: add aes-sha224-hmac capability to Intel QAT driver
> app/test: add test cases for aes-sha224-hmac for Intel QAT driver
>
> Changes in v3:
> * Cover letter updated with correct information about sha224-hmac.
>
> Changes in v2:
> * Added new feature information in release_16_11.rst file.
> * Added information about sha224-hmac in capabilities.
>
> app/test/test_cryptodev_aes.c| 6 +++--
> doc/guides/cryptodevs/qat.rst| 1 +
> doc/guides/rel_notes/release_16_11.rst | 1 +
> drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 33
>
> drivers/crypto/qat/qat_crypto.c | 25 +-
> 5 files changed, 63 insertions(+), 3 deletions(-)
>
> --
> 2.5.5