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.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/pkcs11-coverage.txt b/doc/pkcs11-coverage.txt
new file mode 100644
index 0000000..39aa5dc
--- /dev/null
+++ b/doc/pkcs11-coverage.txt
@@ -0,0 +1,30 @@
+
+C_Initialize
+ -
+ - Checks various locking styles.
+ - Checks double initialization.
+ - Various mutex functions have checks.
+
+C_Finalize
+ - Checks double calls.
+
+C_GetInfo
+ - Checks NULL argument.
+ - Space padding in CK_INFO strings.
+ - Cryptoki version matches that in CK_FUNCTION_LIST table.
+ -
+
+C_GetFunctionList
+ - Checks NULL arguments.
+ - Checks that results match library exported C_GetFunctionList.
+
+C_GetSlotList
+ - Calling with NULL arguments.
+ - Calling with extra memory.
+ - Calling with too little memory.
+
+C_GetSlotInfo
+ - Calling with NULL arguments.
+ - Padding
+
+