A question on IBM4758 card
From: Allen Chen (vn517578_at_ms5.tisnet.net.tw)
Date: 07/07/04
- Next message: ALuPin: "Re: Verifying CRCs"
- Previous message: Allen Chen: "A question on IBM4758 card"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 6 Jul 2004 22:51:22 -0700
Hello everyone,
I write a program(C++) to call the DECRYPT function directly on
IBM4758 card.
We use PKCS#11 interface.
There is a problem when it runs 6729 times.
The system will show the error(0x31) message that means the IBM4758
card not enough memory.
Thereinafter is my testing log file.
[NOTICE] 07/05/04--15:45:22 call C_FindObjectsInit Success!!
call C_FindObjects[NOTICE] 07/05/04--15:45:22 call C_FindObjects
Success!!Found
Key Counter:[40]
call C_FindObjectsFinal[NOTICE] 07/05/04--15:45:22 call
C_FindObjectsFinal Succe
ss!!
[NOTICE] 07/05/04--15:45:22 call PKCS11_Find_DESKey Success!!Counter =
[6728]
[NOTICE] 07/05/04--15:45:22 call PKCS11_CloseSessionAndLogout
Success!!
[NOTICE] 07/05/04--15:45:22 call PKCS11_Finalize Success!!
[DEBUG] 07/05/04--15:45:22 PKCS11 Library
Path:[C:\i-security\Sec_Server\dll\cry
ptoki.dll]
[NOTICE] 07/05/04--15:45:22 call [GetProcAddress] Success !!
[NOTICE] 07/05/04--15:45:22 call PKCS11_LoadLibraryAndGetFuncList
Success!!
[DEBUG] 07/05/04--15:45:22 call PKCS11_Init_Device
[DEBUG] 07/05/04--15:45:22 call C_Initialize
[DEBUG] 07/05/04--15:45:22 call C_Initialize Success !!
[DEBUG] 07/05/04--15:45:22 call C_GetSlotList--Slot Count:[8]
[NOTICE] 07/05/04--15:45:22 call PKCS11_Init_Device Success!!
[DEBUG] 07/05/04--15:45:22 PKCS11 TEST Key Lable:[xxx]
[NOTICE] 07/05/04--15:45:22 call C_FindObjectsInit Success!!
call C_FindObjectsCall C_FindObjects error(0x31)[ERROR]
07/05/04--15:45:22 Call
C_FindObjects error(0x31)
[ERROR] 07/05/04--15:45:22 PKCS11_Find_DESKey error. Last Error[]
[DEBUG] 07/05/04--15:45:22 PKCS11 Library
Path:[C:\i-security\Sec_Server\dll\cry
ptoki.dll]
[NOTICE] 07/05/04--15:45:22 call [GetProcAddress] Success !!
[NOTICE] 07/05/04--15:45:22 call PKCS11_LoadLibraryAndGetFuncList
Success!!
[DEBUG] 07/05/04--15:45:22 call PKCS11_Init_Device
[DEBUG] 07/05/04--15:45:22 call C_Initialize
What can I do?
My platform is win2000 server.
Anyone with some ideas?
I hope you'll help me! Thanks in advance.
Allen Chen
- Next message: ALuPin: "Re: Verifying CRCs"
- Previous message: Allen Chen: "A question on IBM4758 card"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|