Skip to content
Commit a641f180 authored by Marouene Boubakri's avatar Marouene Boubakri Committed by Jérôme Forissier
Browse files

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: default avatarMarouene Boubakri <marouene.boubakri@nxp.com>
Co-developed-by: default avatarMarouene Boubakri <marouene.boubakri@nxp.com>
Signed-off-by: default avatarMarouene Boubakri <marouene.boubakri@nxp.com>
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@foss.st.com>
parent ea18800d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment