xtest: pkcs11_1030: Test AES GCM processing

Add pkcs11_1030 test case for CKM_AES_GCM encryption and decryption tests
based on AES GCM test vectors from regression_4000_data.h.

Each vector is tested with both the one-shot API function C_Encrypt()
(resp. C_Decrypt()) and the update/final stepped processing API functions
C_EncryptUpdate() and C_EncryptFinal() (resp. C_DecryptUpdate() and
C_DecryptFinal()). Each test vector is also tested with modified cipher
text and modified authentication for a negative case.

Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Co-developed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
1 file changed
tree: ed8bf58abb9554ebee6fbcff705ad8da2ab211e7
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

This git contains source code for the test suite (xtest) used to test the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.

// OP-TEE core maintainers