Thanks everybody for your helpful comments,

Fortunately I could find another server which supports n2cp0. but I have faced 
with a new problem that have made me crazy. I have a code that runs on one 
server with no problem, gives error on the other, I know it must be something 
dependent on the configuration of my systems, but I don't know what I have 
missed or what I should check?
 
Let's assume I have two systems, system 1 without hardware support which has 
only one slot and that is slot 0 (metaslot) and system 2 with 4 slots. To check 
there is no problem with my code, I decided to try it for the slot 0 in the 
first place. When I run my program on the first server it compiles and runs 
successfully but when I try to run it on the second system it gives the 
CKR_ARGUMENTS_BAD error on C_EncryptUpdate function call.

As far I know, C_EncryptUpdate has only one argument that is dependent on the 
architecture and that is hsession, I have checked both systems and the AES_CBC 
mechanism (which I use for my encryption) exists in all levels of providers, is 
there anything specific I have missed to set or I have to check?

Thank you once again,
newsha
 

_______________________________________________
crypto-discuss mailing list
crypto-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/crypto-discuss

Reply via email to