crypto/armv8: fix authentication session configuration
authorSrisivasubramanian S <ssrinivasan@caviumnetworks.com>
Sun, 30 Jul 2017 11:23:00 +0000 (16:53 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 30 Jul 2017 16:49:45 +0000 (18:49 +0200)
commit473174a7da555ec26751c89b56255192586cb0aa
treeacb1e8ddb66eb9fe40b48fbe6b7b85cfcbc94cbc
parent31850d26850e59cb20cdb84a8048d9f501f3cb22
crypto/armv8: fix authentication session configuration

For key sizes greater than digest length, pad with zero rather than
computing hash of the key itself.

Fixes: 169ca3db550c ("crypto/armv8: add PMD optimized for ARMv8 processors")
Cc: stable@dpdk.org
Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com>
drivers/crypto/armv8/rte_armv8_pmd.c
drivers/crypto/armv8/rte_armv8_pmd_private.h