> CK_MECHANISM gostMech = { CKM_GOSTR3410_KEY_PAIR_GEN, NULL, 0 };
> ...
> C_GenerateKeyPair(hSession, &gostMech, NULL_PTR, 0, NULL_PTR, 0, 
> &hPubKey, &hPrvKey);
> -> CKR_OK and RSA Key Pair

Fix at trunk revision 3887(+3888)

But

CK_MECHANISM pMech = { CKM_RSA_PKCS_KEY_PAIR_GEN, NULL, 0 };
...
C_GenerateKeyPair(hSession, &pMech, NULL_PTR, 0, NULL_PTR, 0, &hPubKey, 
&hPrvKey);
-> CKR_OK and RSA Key Pair
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to