From 7d457091d456510c9710a8e7263c70035f4fe0fc Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Dec 2008 22:49:51 +0000 Subject: Add test coverage documentation. --- doc/pkcs11-coverage.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/pkcs11-coverage.txt (limited to 'doc/pkcs11-coverage.txt') 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 + + -- cgit v1.2.3