| 15bb59a5 | 12-Aug-2021 |
Ciara Power <[email protected]> |
examples/fips_validation: fix resetting pointer
The env.digest memory was freed, but the pointer was not set to NULL afterwards. This caused an "Invalid Memory" error, as the pointer tries to free t
examples/fips_validation: fix resetting pointer
The env.digest memory was freed, but the pointer was not set to NULL afterwards. This caused an "Invalid Memory" error, as the pointer tries to free twice.
Fixes: 952e10cdad5e ("examples/fips_validation: support scatter gather list") Cc: [email protected]
Signed-off-by: Ciara Power <[email protected]> Acked-by: Fan Zhang <[email protected]>
show more ...
|
| 74645f64 | 10-Aug-2021 |
Akhil Goyal <[email protected]> |
examples/fips_validation: remove illegal usage of API
Some of the cryptodev APIs are not allowed to be used by application directly. Hence removing the usage of 1. queue_pair_release: it is not requ
examples/fips_validation: remove illegal usage of API
Some of the cryptodev APIs are not allowed to be used by application directly. Hence removing the usage of 1. queue_pair_release: it is not required, as configure of queue pair release the previous queue pairs and the dev is not directly exposed to application, hence cannot use its ops from app. 2. rte_cryptodev_stop: it can be used directly without checking if the device is started or not. 3. rte_cryptodev_pmd_destroy: application should use rte_cryptodev_close instead.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Matan Azrad <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| bda9ce3c | 30-Oct-2020 |
Ciara Power <[email protected]> |
examples/fips_validation: fix leak on failure
The wb_data variable went out of scope on failure in the get_writeback_data function. This is now freed before returning -1.
Coverity issue: 363453 Fix
examples/fips_validation: fix leak on failure
The wb_data variable went out of scope on failure in the get_writeback_data function. This is now freed before returning -1.
Coverity issue: 363453 Fixes: 952e10cdad5e ("examples/fips_validation: support scatter gather list")
Signed-off-by: Ciara Power <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| d09abf2d | 09-Oct-2020 |
Fan Zhang <[email protected]> |
examples/fips_validation: update GCM test
This patch updates fips validation GCM test capabilities:
- In NIST GCMVS spec GMAC test vectors are the GCM ones with plaintext length as 0 and uses AAD a
examples/fips_validation: update GCM test
This patch updates fips validation GCM test capabilities:
- In NIST GCMVS spec GMAC test vectors are the GCM ones with plaintext length as 0 and uses AAD as input data. Originally fips_validation tests treats them both as GCM test vectors. This patch introduce automatic test type recognition between the two: when plaintext length is 0 the prepare_gmac_xform and prepare_auth_op functions are called, otherwise prepare_gcm_xform and prepare_aead_op functions are called.
- NIST GCMVS also specified externally or internally IV generation. When IV is to be generated by IUT internally IUT shall store the generated IV in the response file. This patch also adds the support to that.
Signed-off-by: Fan Zhang <[email protected]> Signed-off-by: Weqaar Janjua <[email protected]> Acked-by: John Griffin <[email protected]>
show more ...
|
| 2b84d2bd | 11-Jun-2020 |
Archana Muniganti <[email protected]> |
examples/fips_validation: fix count overwrite for TDES
Application updates first line of each test vector with COUNT = i(where i = 1,2,3..) assuming first line contains COUNT string. But few of the
examples/fips_validation: fix count overwrite for TDES
Application updates first line of each test vector with COUNT = i(where i = 1,2,3..) assuming first line contains COUNT string. But few of the TDES input test vectors don't contain COUNT string and thus COUNT is getting overwritten on other data.
Fixes: 527cbf3d5ee3 ("examples/fips_validation: support TDES parsing") Cc: [email protected]
Signed-off-by: Archana Muniganti <[email protected]> Signed-off-by: Kanaka Durga Kotamarthy <[email protected]>
show more ...
|