Skip to content

Commit

Permalink
xtest: pkcs11_1030: Test AES GCM processing
Browse files Browse the repository at this point in the history
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.

Co-developed-by: Marouene Boubakri <[email protected]>
Signed-off-by: Marouene Boubakri <[email protected]>
Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
maroueneboubakri authored and etienne-lms committed Feb 12, 2024
1 parent ab67688 commit 971eed8
Showing 1 changed file with 543 additions and 0 deletions.
Loading

0 comments on commit 971eed8

Please sign in to comment.