summaryrefslogtreecommitdiff
path: root/doc/pkcs11-coverage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pkcs11-coverage.txt')
-rw-r--r--doc/pkcs11-coverage.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/pkcs11-coverage.txt b/doc/pkcs11-coverage.txt
index 538d487..b864f49 100644
--- a/doc/pkcs11-coverage.txt
+++ b/doc/pkcs11-coverage.txt
@@ -6,6 +6,18 @@ This is the test coverage of the p11-tests tool of the PKCS#11 interface.
We're anxious to complete this, if you have patches please do contribute.
+C_CloseAllSessions
+- Invalid slot id
+- Normal call
+- Check open session was closed
+- Call when no sessions open
+
+C_CloseSession
+- Invalid session
+- Normal call
+- Check open session was closed
+- Close twice
+
C_Finalize
- Normal call
- Double finalize in a row
@@ -32,6 +44,14 @@ C_GetMechanismList
- Zero count but buffer present
- Low count but buffer present
+C_GetSessionInfo
+- Invalid session
+- NULL arguments
+- Valid call
+- Valid slot id
+- Valid state for session
+- Valid flags for session
+
C_GetSlotInfo
- NULL argument
- Normal call
@@ -54,6 +74,12 @@ C_GetTokenInfo
- Validate token time when CKF_CLOCK_ON_TOKEN
- Calling on slot without token
+C_InitPIN
+- Not Implemented
+
+C_InitToken
+- Not Implemented
+
C_Initialize
- Normal call
- Locking: no threads
@@ -65,6 +91,17 @@ C_Initialize
- Multiple initialize with C_Finalize between
- Double initialize in a row
+C_OpenSession
+- Invalid slot
+- Null arguments
+- No flags
+- Without serial flag
+- Valid flags
+- Read write session
+
+C_SetPIN
+- Not Implemented
+
C_WaitForSlotEvent
- Not Implemented