Skip to content

Commit

Permalink
xtest: pkcs11_1000.c: Test support of object checksum value computation
Browse files Browse the repository at this point in the history
This test involves PKCS11_CKA_CHECK_VALUE when enabled, as per the
spec, the attribute can be either the legitimate value recomputed by
the PKCS#11 token or a zero-sized value called a no-value for when
client does not want the attribute to set in an object. This test
invokes Cryptoki API functions C_GenerateKey(), C_CreateObject(),
C_CopyObject(), C_SetAttributeValue(), C_UnwrapKey() and C_DeriveKey()
to perform check value computation and this test query the value using
C_GetAttributeValue().

Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
  • Loading branch information
maroueneboubakri authored and jforissier committed Jan 11, 2024
1 parent 4fabb34 commit 2e1e7a9
Showing 1 changed file with 513 additions and 0 deletions.
Loading

0 comments on commit 2e1e7a9

Please sign in to comment.