Skip to content

Commit

Permalink
fixup! libckteec: implement C_GetFunctionList()
Browse files Browse the repository at this point in the history
Remove NULL initialization of libckteec_function_list fields related
to CK AP functions not yet supported.

Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Jan 31, 2020
1 parent 72df84b commit 2b6dd77
Showing 1 changed file with 0 additions and 65 deletions.
65 changes: 0 additions & 65 deletions libckteec/src/pkcs11_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,72 +16,7 @@ static const CK_FUNCTION_LIST libckteec_function_list = {
},
.C_Initialize = C_Initialize,
.C_Finalize = C_Finalize,
.C_GetInfo = NULL,
.C_GetFunctionList = C_GetFunctionList,
.C_GetSlotList = NULL,
.C_GetSlotInfo = NULL,
.C_GetTokenInfo = NULL,
.C_GetMechanismList = NULL,
.C_GetMechanismInfo = NULL,
.C_InitToken = NULL,
.C_InitPIN = NULL,
.C_SetPIN = NULL,
.C_OpenSession = NULL,
.C_CloseSession = NULL,
.C_CloseAllSessions = NULL,
.C_GetSessionInfo = NULL,
.C_GetOperationState = NULL,
.C_SetOperationState = NULL,
.C_Login = NULL,
.C_Logout = NULL,
.C_CreateObject = NULL,
.C_CopyObject = NULL,
.C_DestroyObject = NULL,
.C_GetObjectSize = NULL,
.C_GetAttributeValue = NULL,
.C_SetAttributeValue = NULL,
.C_FindObjectsInit = NULL,
.C_FindObjects = NULL,
.C_FindObjectsFinal = NULL,
.C_EncryptInit = NULL,
.C_Encrypt = NULL,
.C_EncryptUpdate = NULL,
.C_EncryptFinal = NULL,
.C_DecryptInit = NULL,
.C_Decrypt = NULL,
.C_DecryptUpdate = NULL,
.C_DecryptFinal = NULL,
.C_DigestInit = NULL,
.C_Digest = NULL,
.C_DigestUpdate = NULL,
.C_DigestKey = NULL,
.C_DigestFinal = NULL,
.C_SignInit = NULL,
.C_Sign = NULL,
.C_SignUpdate = NULL,
.C_SignFinal = NULL,
.C_SignRecoverInit = NULL,
.C_SignRecover = NULL,
.C_VerifyInit = NULL,
.C_Verify = NULL,
.C_VerifyUpdate = NULL,
.C_VerifyFinal = NULL,
.C_VerifyRecoverInit = NULL,
.C_VerifyRecover = NULL,
.C_DigestEncryptUpdate = NULL,
.C_DecryptDigestUpdate = NULL,
.C_SignEncryptUpdate = NULL,
.C_DecryptVerifyUpdate = NULL,
.C_GenerateKey = NULL,
.C_GenerateKeyPair = NULL,
.C_WrapKey = NULL,
.C_UnwrapKey = NULL,
.C_DeriveKey = NULL,
.C_SeedRandom = NULL,
.C_GenerateRandom = NULL,
.C_GetFunctionStatus = NULL,
.C_CancelFunction = NULL,
.C_WaitForSlotEvent = NULL,
};

static bool lib_initiated(void)
Expand Down

0 comments on commit 2b6dd77

Please sign in to comment.