crypto: fix crypto perf unittest crash 55/23455/2
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 4 Nov 2019 16:01:59 +0000 (16:01 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 18 Nov 2019 13:30:35 +0000 (13:30 +0000)
commitcde7068bbe8d76d84c2e44f79e32c60a1525bcc9
treec5d99c96d543fe15c8d5de7a7ca10ffa024bdcfa
parente97a054fd38ce1dc252870a78a27ed44fdd42d5a
crypto: fix crypto perf unittest crash

Type: fix

crypto perf test crashes for key size different than 16 bytes.
This patch fixes the issue

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Change-Id: Ic8a8ca83ca189c879815dc5d065b8c6f7826cd41
(cherry picked from commit bc2e640db7533394a3de7bdffd78fadf2a2ffd9f)
src/plugins/unittest/crypto_test.c