Re: [osol-code] Problem on CKM_AES_KEY_GEN in pkcs11_softtoken.so

2008-01-21 Thread alick
Thanks a lot! Yes. I want to generate a 128-bit AES key which is a random number. But I can't successfully compile the code. If possible, could you please give an example which can be compiled successfully? This message posted from opensolaris.org ___

[osol-code] 128-bit random number making using of PKCS#11

2008-01-18 Thread alick
I want to generate a 128-bit key which is a random number. How can I generate a 128-bit random number making using of PKCS#11? Thanks a lot in advance! This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@open

Re: [osol-code] Problem on CKM_AES_KEY_GEN in pkcs11_softtoken.so

2008-01-18 Thread alick
Consult again! How can I generate a 128-bit random number making using of PKCS#11? This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-co

Re: [osol-code] Problem on CKM_AES_KEY_GEN in pkcs11_softtoken.so

2007-12-18 Thread alick
Still a problem... This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Re: [osol-code] Problem on CKM_AES_KEY_GEN in pkcs11_softtoken.so

2007-12-12 Thread alick
Thanks a lot for your help! Could you please give a simple code example to explain the use because I am not familiar with the PKCS package. This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensolaris.org h

Re: [osol-code] Problem on CKM_AES_KEY_GEN in pkcs11_softtoken.so

2007-12-12 Thread alick
Request for help again. Thanks a lot! This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

[osol-code] Problem on CKM_AES_KEY_GEN in pkcs11_softtoken.so

2007-12-10 Thread alick
Hi, I have studied on CKM_AES_KEY_GEN in pkcs11_softtoken.so recently. But there occurs a problem which prompt no reference of C_GenerateKey. Codes are attached as follows. Is there any one who can help me? could you please send me an example how to use CKM_AES_KEY_GEN properly? Thanks a lot!

[osol-code] CKM_AES_CTR problem

2007-11-15 Thread alick
Hi all When I input the command "cryptoadm list -m" on solaris 10, the information shows as follows: Kernel software providers: == des: CKM_DES_ECB,CKM_DES_CBC,CKM_DES3_ECB,CKM_DES3_CBC aes: CKM_AES_ECB,CKM_AES_CBC,CKM_AES_CTR I want to use the CKM_AES_CTR api to impleme