examples/fips_validation: fix string token for CT length
authorAnoob Joseph <anoobj@marvell.com>
Tue, 18 Feb 2020 10:31:12 +0000 (16:01 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 20 Feb 2020 15:41:49 +0000 (16:41 +0100)
commitb1ea86a07cbce6d5b0a9b05a4e0c0fbbe56ad20d
treed5b7cd5c27140fec002cda1570175e1df4e876e3
parentb685f931e1ce33d287e3891d4f19ab07f8d2aa79
examples/fips_validation: fix string token for CT length

The NIST test vectors use the string 'PTlen' to denote text lengths
in case of encrypt & decrypt operations. So the same string needs to be
used while parsing PT and CT.

Fixes: 2adb3b4e7e54 ("examples/fips_validation: fix AES-GCM cipher length parsing")

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/fips_validation/fips_validation_gcm.c