test/crypto: improve asymmetric setup
authorAyuj Verma <ayverma@marvell.com>
Wed, 24 Jul 2019 10:27:01 +0000 (15:57 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 26 Jul 2019 13:43:42 +0000 (15:43 +0200)
commitb01627d5b0ab37cc85d519250c822dc643cf5d36
treedd7f054f6be8da68d05fbea166f762a005d26f04
parentff53baa9cc676249d1c5c514755d77e453a99b51
test/crypto: improve asymmetric setup

Improve logic:
  * to get list of valid devices based on driver id so that to
    eliminate unnecessary if check for driver id match in device loop
  * loop till 1st device supporting asymmetric feature is found unlike
    previous logic which breaks on 1st device

Signed-off-by: Kanaka Durga Kotamarthy <kkotamarthy@marvell.com>
Signed-off-by: Ayuj Verma <ayverma@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test/test_cryptodev_asym.c